summaryrefslogtreecommitdiff
path: root/src/uname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uname.c')
-rw-r--r--src/uname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uname.c b/src/uname.c
index 3870dfa3d..57778b919 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -86,7 +86,7 @@
/* Operating system. */
#define PRINT_OPERATING_SYSTEM 128
-static struct option const uname_long_options[] =
+static const struct option const uname_long_options[] =
{
{"all", no_argument, NULL, 'a'},
{"kernel-name", no_argument, NULL, 's'},
@@ -104,7 +104,7 @@ static struct option const uname_long_options[] =
{NULL, 0, NULL, 0}
};
-static struct option const arch_long_options[] =
+static const struct option const arch_long_options[] =
{
{GETOPT_HELP_OPTION_DECL},
{GETOPT_VERSION_OPTION_DECL},