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