@@ -226,7 +226,7 @@ char *iconv_opt =
226
226
227
227
struct chmod_mode_struct * chmod_modes = NULL ;
228
228
229
- static const char * debug_verbosity [] = {
229
+ static const char * const debug_verbosity [] = {
230
230
/*0*/ NULL ,
231
231
/*1*/ NULL ,
232
232
/*2*/ "BIND,CMD,CONNECT,DEL,DELTASUM,DUP,FILTER,FLIST,ICONV" ,
@@ -237,7 +237,7 @@ static const char *debug_verbosity[] = {
237
237
238
238
#define MAX_VERBOSITY ((int)(sizeof debug_verbosity / sizeof debug_verbosity[0]) - 1)
239
239
240
- static const char * info_verbosity [1 + MAX_VERBOSITY ] = {
240
+ static const char * const info_verbosity [1 + MAX_VERBOSITY ] = {
241
241
/*0*/ "NONREG" ,
242
242
/*1*/ "COPY,DEL,FLIST,MISC,NAME,STATS,SYMSAFE" ,
243
243
/*2*/ "BACKUP,MISC2,MOUNT,NAME2,REMOVE,SKIP" ,
@@ -475,7 +475,7 @@ static void parse_output_words(struct output_struct *words, short *levels, const
475
475
static void output_item_help (struct output_struct * words )
476
476
{
477
477
short * levels = words == info_words ? info_levels : debug_levels ;
478
- const char * * verbosity = words == info_words ? info_verbosity : debug_verbosity ;
478
+ const char * const * verbosity = words == info_words ? info_verbosity : debug_verbosity ;
479
479
char buf [128 ], * opt , * fmt = "%-10s %s\n" ;
480
480
int j ;
481
481
@@ -847,7 +847,7 @@ static struct poptOption long_options[] = {
847
847
{0 ,0 ,0 ,0 , 0 , 0 , 0 }
848
848
};
849
849
850
- static struct poptOption long_daemon_options [] = {
850
+ static const struct poptOption long_daemon_options [] = {
851
851
/* longName, shortName, argInfo, argPtr, value, descrip, argDesc */
852
852
{"address" , 0 , POPT_ARG_STRING , & bind_address , 0 , 0 , 0 },
853
853
{"bwlimit" , 0 , POPT_ARG_INT , & daemon_bwlimit , 0 , 0 , 0 },
0 commit comments