aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
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
commit61ff4b39738085d1b88d934f619b840fd296c8a8 (patch)
tree3f0e8887aeecd290f7c32ae413ee6e720733c94b /libbb
parent4eb2fd6826aa197dcdbf3618fa0cae9d2de73d86 (diff)
downloadbusybox-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.c3
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 */
20extern unsigned short compare_string_array(const char *string_array[], const char *key) 20extern unsigned short
21compare_string_array(const char * const string_array[], const char *key)
21{ 22{
22 unsigned short i; 23 unsigned short i;
23 24