From fef5d0af591c6c8a91f69bba5e62c99df1a732c9 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 1 Feb 2008 19:54:46 +0000 Subject: Constantise as much as possible so that it reduces COW usage. --- src/rc/runscript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/runscript.c') diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 458ecd2..dfabb86 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -1027,7 +1027,7 @@ static void svc_restart (bool deps) #include "_usage.h" #define getoptstring "dDsv" getoptstring_COMMON #define extraopts "stop | start | restart | describe | zap" -static struct option longopts[] = { +static const struct option longopts[] = { { "debug", 0, NULL, 'd'}, { "ifstarted", 0, NULL, 's'}, { "nodeps", 0, NULL, 'D'}, -- cgit v1.2.3