Constantise as much as possible so that it reduces COW usage.

This commit is contained in:
Roy Marples
2008-02-01 19:54:46 +00:00
parent f12f3e0641
commit fef5d0af59
10 changed files with 10 additions and 10 deletions

View File

@@ -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[] = {