diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 22:51:00 +0000 |
commit | a41fdf331af344ecd3ec230a072857ea197e1890 (patch) | |
tree | 70ffff0b7f48b35a70b8b04253abe9118ded6026 /include | |
parent | e935602ff5d5a45be56585b8bad44194c3e837a3 (diff) |
preparatory patch for -Wwrite-strings #1
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 540170cdd..6f195cf46 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -239,7 +239,7 @@ extern int recursive_action(const char *fileName, int recurse, void* userData, int depth); extern int device_open(const char *device, int mode); extern int get_console_fd(void); -extern char *find_block_device(char *path); +extern char *find_block_device(const char *path); /* bb_copyfd_XX print read/write errors and return -1 if they occur */ extern off_t bb_copyfd_eof(int fd1, int fd2); extern off_t bb_copyfd_size(int fd1, int fd2, off_t size); |