From a41fdf331af344ecd3ec230a072857ea197e1890 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 29 Jan 2007 22:51:00 +0000 Subject: preparatory patch for -Wwrite-strings #1 --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3