summaryrefslogtreecommitdiffstats
path: root/gl/getopt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/getopt1.c')
-rw-r--r--gl/getopt1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/getopt1.c b/gl/getopt1.c
index d6a3ecf..ba115c4 100644
--- a/gl/getopt1.c
+++ b/gl/getopt1.c
@@ -1,5 +1,5 @@
1/* getopt_long and getopt_long_only entry points for GNU getopt. 1/* getopt_long and getopt_long_only entry points for GNU getopt.
2 Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004,2006 2 Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004,2006,2009
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 This file is part of the GNU C Library. 4 This file is part of the GNU C Library.
5 5
@@ -91,7 +91,7 @@ main (int argc, char **argv)
91 { 91 {
92 int this_option_optind = optind ? optind : 1; 92 int this_option_optind = optind ? optind : 1;
93 int option_index = 0; 93 int option_index = 0;
94 static struct option long_options[] = 94 static const struct option long_options[] =
95 { 95 {
96 {"add", 1, 0, 0}, 96 {"add", 1, 0, 0},
97 {"append", 0, 0, 0}, 97 {"append", 0, 0, 0},