diff options
author | Matt Kraai <kraai@debian.org> | 2001-02-05 17:50:03 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-02-05 17:50:03 +0000 |
commit | a164c647acc613fe199a646dc5075c097f51a4a4 (patch) | |
tree | bf64d8b5c0592b0276d5c1c5471df27e7c88607b /utility.c | |
parent | 925edb828df9665714d2ce71a6ef8242bbf4eb15 (diff) | |
download | busybox-w32-a164c647acc613fe199a646dc5075c097f51a4a4.tar.gz busybox-w32-a164c647acc613fe199a646dc5075c097f51a4a4.tar.bz2 busybox-w32-a164c647acc613fe199a646dc5075c097f51a4a4.zip |
Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.
Diffstat (limited to '')
-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) | |||
1696 | } | 1696 | } |
1697 | 1697 | ||
1698 | #if defined BB_DD || defined BB_TAIL | 1698 | #if defined BB_DD || defined BB_TAIL |
1699 | unsigned long parse_number(const char *numstr, struct suffix_mult *suffixes) | 1699 | unsigned long parse_number(const char *numstr, |
1700 | const struct suffix_mult *suffixes) | ||
1700 | { | 1701 | { |
1701 | struct suffix_mult *sm; | 1702 | const struct suffix_mult *sm; |
1702 | unsigned long int ret; | 1703 | unsigned long int ret; |
1703 | int len; | 1704 | int len; |
1704 | char *end; | 1705 | char *end; |