aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-11-26 10:33:55 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-11-26 10:33:55 +0000
commit3082af9bcfed3f7ab3b39eaf7a02aa051043cbf1 (patch)
tree3f0e8887aeecd290f7c32ae413ee6e720733c94b /libbb
parentafb1ad1f740adf1dd89da0617f60219e302934a1 (diff)
downloadbusybox-w32-3082af9bcfed3f7ab3b39eaf7a02aa051043cbf1.tar.gz
busybox-w32-3082af9bcfed3f7ab3b39eaf7a02aa051043cbf1.tar.bz2
busybox-w32-3082af9bcfed3f7ab3b39eaf7a02aa051043cbf1.zip
more use const for interface of libbb/compare_string_array, example usage for e2fsprogs/fsck
git-svn-id: svn://busybox.net/trunk/busybox@12534 69ca8d6d-28ef-0310-b511-8ec308f3f277
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