aboutsummaryrefslogtreecommitdiff
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 d6a3ecf4..ba115c47 100644
--- a/gl/getopt1.c
+++ b/gl/getopt1.c
@@ -1,5 +1,5 @@
/* getopt_long and getopt_long_only entry points for GNU getopt.
- Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004,2006
+ Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98,2004,2006,2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -91,7 +91,7 @@ main (int argc, char **argv)
{
int this_option_optind = optind ? optind : 1;
int option_index = 0;
- static struct option long_options[] =
+ static const struct option long_options[] =
{
{"add", 1, 0, 0},
{"append", 0, 0, 0},