diff options
author | Rob Landley | 2006-06-18 20:20:07 +0000 |
---|---|---|
committer | Rob Landley | 2006-06-18 20:20:07 +0000 |
commit | ea224be6aa8fed5486376d3021a4cb911e935106 (patch) | |
tree | 38d6c5d2d53841e3f4e2702521e3b03235c51017 /include/libbb.h | |
parent | 14d7065ef1eb836d20e13bc25d1b13f0e76185ac (diff) | |
download | busybox-ea224be6aa8fed5486376d3021a4cb911e935106.zip busybox-ea224be6aa8fed5486376d3021a4cb911e935106.tar.gz |
skip_whitespace() shouldn't claim its return value is const, it doesn't know
that and callers wind up typecasting it back.
Diffstat (limited to 'include/libbb.h')
-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 5877a4a..e9d7e75 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -200,7 +200,7 @@ extern void bb_warn_ignoring_args(int n); extern void chomp(char *s); extern void trim(char *s); -extern const char *bb_skip_whitespace(const char *); +extern char *skip_whitespace(const char *); extern struct BB_applet *find_applet_by_name(const char *name); void run_applet_by_name(const char *name, int argc, char **argv); |