summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
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 @@
#include <string.h>
/* returns the array number of the string */
-extern unsigned short compare_string_array(const char *string_array[], const char *key)
+extern unsigned short
+compare_string_array(const char * const string_array[], const char *key)
{
unsigned short i;