more use const for interface of libbb/compare_string_array, example usage for e2fsprogs/fsck
This commit is contained in:
		| @@ -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; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user