projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gdb/testsuite] Move code from gdb_init to default_gdb_init
[deliverable/binutils-gdb.git]
/
libiberty
/
getopt.c
diff --git
a/libiberty/getopt.c
b/libiberty/getopt.c
index 0b5c2e8f6aaabbb5ed97e09ec6bdafe16923e35b..7119b621c12a695852c1c7586b153cc961d665ca 100644
(file)
--- a/
libiberty/getopt.c
+++ b/
libiberty/getopt.c
@@
-3,8
+3,7
@@
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
- Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
- Free Software Foundation, Inc.
+ Copyright (C) 1987-2020 Free Software Foundation, Inc.
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
@@
-42,6
+41,7
@@
# endif
#endif
# endif
#endif
+#include "ansidecl.h"
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not
@@
-397,7
+397,9
@@
exchange (char **argv)
static const char *_getopt_initialize (int, char *const *, const char *);
#endif
static const char *
static const char *_getopt_initialize (int, char *const *, const char *);
#endif
static const char *
-_getopt_initialize (int argc, char *const *argv, const char *optstring)
+_getopt_initialize (int argc ATTRIBUTE_UNUSED,
+ char *const *argv ATTRIBUTE_UNUSED,
+ const char *optstring)
{
/* Start processing options with ARGV-element 1 (since ARGV-element 0
is the program name); the sequence of previously skipped
{
/* Start processing options with ARGV-element 1 (since ARGV-element 0
is the program name); the sequence of previously skipped
This page took
0.023482 seconds
and
4
git commands to generate.