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/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/rc.c') diff --git a/src/rc/rc.c b/src/rc/rc.c index 954d6b59..f093b874 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -636,7 +636,7 @@ static void do_coldplug (void) #include "_usage.h" #define getoptstring "o:" getoptstring_COMMON -static struct option longopts[] = { +static const struct option longopts[] = { { "override", 1, NULL, 'o' }, longopts_COMMON }; -- cgit v1.2.3