summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/utility.c b/utility.c
index f99c613..aa1fa94 100644
--- a/utility.c
+++ b/utility.c
@@ -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;