summaryrefslogtreecommitdiffstats
path: root/gl/getopt1.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2009-05-19 22:32:10 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2009-05-19 22:32:10 (GMT)
commit50b3ff7b91e78a61aca93247bee586d6d7eb27c8 (patch)
treedb4c7eee24479ac7ee6888ce1562facf60159b71 /gl/getopt1.c
parent2701ccd500e60537a8c2977a81549ff33eeaef3f (diff)
downloadmonitoring-plugins-50b3ff7b91e78a61aca93247bee586d6d7eb27c8.tar.gz
Sync with the latest Gnulib code (cb75dc5)
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
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},