diff options
author | Matt Kraai | 2001-02-05 17:50:03 +0000 |
---|---|---|
committer | Matt Kraai | 2001-02-05 17:50:03 +0000 |
commit | a164c647acc613fe199a646dc5075c097f51a4a4 (patch) | |
tree | bf64d8b5c0592b0276d5c1c5471df27e7c88607b /utility.c | |
parent | 925edb828df9665714d2ce71a6ef8242bbf4eb15 (diff) | |
download | busybox-a164c647acc613fe199a646dc5075c097f51a4a4.zip busybox-a164c647acc613fe199a646dc5075c097f51a4a4.tar.gz |
Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1696,9 +1696,10 @@ struct BB_applet *find_applet_by_name(const char *name) } #if defined BB_DD || defined BB_TAIL -unsigned long parse_number(const char *numstr, struct suffix_mult *suffixes) +unsigned long parse_number(const char *numstr, + const struct suffix_mult *suffixes) { - struct suffix_mult *sm; + const struct suffix_mult *sm; unsigned long int ret; int len; char *end; |