summaryrefslogtreecommitdiff
path: root/udev_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_utils.h')
-rw-r--r--udev_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils.h b/udev_utils.h
index b3e604fb98..3e372dd948 100644
--- a/udev_utils.h
+++ b/udev_utils.h
@@ -39,7 +39,7 @@ extern int string_is_true(const char *str);
extern int parse_get_pair(char **orig_string, char **left, char **right);
extern int unlink_secure(const char *filename);
extern int file_map(const char *filename, char **buf, size_t *bufsize);
-extern void file_unmap(char *buf, size_t bufsize);
+extern void file_unmap(void *buf, size_t bufsize);
extern size_t buf_get_line(const char *buf, size_t buflen, size_t cur);
extern void remove_trailing_char(char *path, char c);
extern void replace_untrusted_chars(char *string);