From c474b810af3a04659be23a745535d612d9f6db4d Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 20 Dec 2007 15:02:04 +0000 Subject: Constant data and pointers --- src/rc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rc.c') diff --git a/src/rc.c b/src/rc.c index 1bf706bc..a733db0b 100644 --- a/src/rc.c +++ b/src/rc.c @@ -109,8 +109,8 @@ typedef struct pidlist } pidlist_t; static pidlist_t *service_pids = NULL; -static const char *types_n[] = { "needsme", NULL }; -static const char *types_nua[] = { "ineed", "iuse", "iafter", NULL }; +static const char *const types_n[] = { "needsme", NULL }; +static const char *const types_nua[] = { "ineed", "iuse", "iafter", NULL }; static void cleanup (void) { -- cgit v1.2.3