summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getversion.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/getversion.c b/lib/getversion.c
index 4ae705a55..8d26abe85 100644
--- a/lib/getversion.c
+++ b/lib/getversion.c
@@ -18,13 +18,13 @@
/* Written by David MacKenzie <djm@gnu.ai.mit.edu> */
#ifdef HAVE_CONFIG_H
-#include <config.h>
+# include <config.h>
#endif
#include "backupfile.h"
#ifdef STDC_HEADERS
-#include <stdlib.h>
+# include <stdlib.h>
#endif
int argmatch ();
@@ -32,12 +32,12 @@ void invalid_arg ();
extern char *program_name;
-static char *backup_args[] =
+static const char *const backup_args[] =
{
"never", "simple", "nil", "existing", "t", "numbered", 0
};
-static enum backup_type backup_types[] =
+static const enum backup_type backup_types[] =
{
simple, simple, numbered_existing, numbered_existing, numbered, numbered
};