aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-update.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-01 19:54:46 +0000
committerRoy Marples <roy@marples.name>2008-02-01 19:54:46 +0000
commitfef5d0af591c6c8a91f69bba5e62c99df1a732c9 (patch)
tree8a3709e9e00a84f8211a6816afaf27d3166d8d76 /src/rc/rc-update.c
parentf12f3e0641430b9011e21e2ba7781035d545b4ed (diff)
Constantise as much as possible so that it reduces COW usage.
Diffstat (limited to 'src/rc/rc-update.c')
-rw-r--r--src/rc/rc-update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c
index 72b94a3a..38d4242d 100644
--- a/src/rc/rc-update.c
+++ b/src/rc/rc-update.c
@@ -134,7 +134,7 @@ static void show (char **runlevels, bool verbose)
" rc-update [options] del service <runlevel>\n" \
" rc-update [options] show"
#define getoptstring getoptstring_COMMON
-static struct option longopts[] = {
+static const struct option longopts[] = {
longopts_COMMON
};
static const char * const longopts_help[] = {