diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-11-26 10:33:55 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-11-26 10:33:55 +0000 |
commit | 61ff4b39738085d1b88d934f619b840fd296c8a8 (patch) | |
tree | 3f0e8887aeecd290f7c32ae413ee6e720733c94b /libbb | |
parent | 4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86 (diff) | |
download | busybox-w32-61ff4b39738085d1b88d934f619b840fd296c8a8.tar.gz busybox-w32-61ff4b39738085d1b88d934f619b840fd296c8a8.tar.bz2 busybox-w32-61ff4b39738085d1b88d934f619b840fd296c8a8.zip |
more use const for interface of libbb/compare_string_array, example usage for e2fsprogs/fsck
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/compare_string_array.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/compare_string_array.c b/libbb/compare_string_array.c index 993b46266..8961e003e 100644 --- a/libbb/compare_string_array.c +++ b/libbb/compare_string_array.c | |||
@@ -17,7 +17,8 @@ | |||
17 | #include <string.h> | 17 | #include <string.h> |
18 | 18 | ||
19 | /* returns the array number of the string */ | 19 | /* returns the array number of the string */ |
20 | extern unsigned short compare_string_array(const char *string_array[], const char *key) | 20 | extern unsigned short |
21 | compare_string_array(const char * const string_array[], const char *key) | ||
21 | { | 22 | { |
22 | unsigned short i; | 23 | unsigned short i; |
23 | 24 | ||