projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: fix exception behaviour of expm1l.c on inf and nan
[musl]
/
include
/
getopt.h
diff --git
a/include/getopt.h
b/include/getopt.h
index
0de05ae
..
c1d0df9
100644
(file)
--- a/
include/getopt.h
+++ b/
include/getopt.h
@@
-7,9
+7,8
@@
extern "C" {
int getopt(int, char * const [], const char *);
extern char *optarg;
int getopt(int, char * const [], const char *);
extern char *optarg;
-extern int optind, opterr, optopt;
+extern int optind, opterr, optopt
, optreset
;
-#ifdef _GNU_SOURCE
struct option
{
const char *name;
struct option
{
const char *name;
@@
-24,7
+23,6
@@
int getopt_long_only(int, char *const *, const char *, const struct option *, in
#define no_argument 0
#define required_argument 1
#define optional_argument 2
#define no_argument 0
#define required_argument 1
#define optional_argument 2
-#endif
#ifdef __cplusplus
}
#ifdef __cplusplus
}