@@ -225,7 +225,7 @@ char *iconv_opt =
225225
226226struct chmod_mode_struct * chmod_modes = NULL ;
227227
228- static const char * debug_verbosity [] = {
228+ static const char * const debug_verbosity [] = {
229229 /*0*/ NULL ,
230230 /*1*/ NULL ,
231231 /*2*/ "BIND,CMD,CONNECT,DEL,DELTASUM,DUP,FILTER,FLIST,ICONV" ,
@@ -236,7 +236,7 @@ static const char *debug_verbosity[] = {
236236
237237#define MAX_VERBOSITY ((int)(sizeof debug_verbosity / sizeof debug_verbosity[0]) - 1)
238238
239- static const char * info_verbosity [1 + MAX_VERBOSITY ] = {
239+ static const char * const info_verbosity [1 + MAX_VERBOSITY ] = {
240240 /*0*/ "NONREG" ,
241241 /*1*/ "COPY,DEL,FLIST,MISC,NAME,STATS,SYMSAFE" ,
242242 /*2*/ "BACKUP,MISC2,MOUNT,NAME2,REMOVE,SKIP" ,
@@ -474,7 +474,7 @@ static void parse_output_words(struct output_struct *words, short *levels, const
474474static void output_item_help (struct output_struct * words )
475475{
476476 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 ;
478478 char buf [128 ], * opt , * fmt = "%-10s %s\n" ;
479479 int j ;
480480
@@ -844,7 +844,7 @@ static struct poptOption long_options[] = {
844844 {0 ,0 ,0 ,0 , 0 , 0 , 0 }
845845};
846846
847- static struct poptOption long_daemon_options [] = {
847+ static const struct poptOption long_daemon_options [] = {
848848 /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */
849849 {"address" , 0 , POPT_ARG_STRING , & bind_address , 0 , 0 , 0 },
850850 {"bwlimit" , 0 , POPT_ARG_INT , & daemon_bwlimit , 0 , 0 , 0 },
0 commit comments