X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fgetopt1.c;h=ba115c472e72d7d74564b6016842f8f2ec4e79f2;hp=d6a3ecf4e709543b202652a300c9721286ad504a;hb=cb555a94fa5188122569ed3803c463f27ccd0261;hpb=462e643a7e31676eceda23e634241f7b4d2cd7bb diff --git a/lib/getopt1.c b/lib/getopt1.c index d6a3ecf4..ba115c47 100644 --- a/lib/getopt1.c +++ b/lib/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},