From: Fabian Keil Date: Sun, 4 Sep 2011 11:36:33 +0000 (+0000) Subject: Constify the formerly_valid_actions pointers in action_used_to_be_valid() X-Git-Tag: v_3_0_18~105 X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=commitdiff_plain;h=7fff8f6aeb8721f155b2ebc4866f38b4d75dcc12;p=privoxy.git Constify the formerly_valid_actions pointers in action_used_to_be_valid() --- diff --git a/actions.c b/actions.c index 0709ab72..276a7cde 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.70 2011/08/17 10:24:55 fabiankeil Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.71 2011/09/04 11:10:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/actions.c,v $ @@ -434,7 +434,7 @@ jb_err get_action_token(char **line, char **name, char **value) *********************************************************************/ static int action_used_to_be_valid(const char *action) { - static const char *formerly_valid_actions[] = { + static const char * const formerly_valid_actions[] = { "inspect-jpegs", "kill-popups", "send-vanilla-wafer",