diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-05 15:45:24 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-05 15:45:24 -0400 |
commit | 0438e9fd63bedaa43173fc26b567568ecddac55d (patch) | |
tree | f3cf516985eb3fad8651921469b0e61516310709 /include | |
parent | 5788d97221434903407fec3f0e48b2ca19643a30 (diff) | |
download | musl-0438e9fd63bedaa43173fc26b567568ecddac55d.tar.gz musl-0438e9fd63bedaa43173fc26b567568ecddac55d.tar.bz2 musl-0438e9fd63bedaa43173fc26b567568ecddac55d.tar.xz musl-0438e9fd63bedaa43173fc26b567568ecddac55d.zip |
getopt.h is a GNU-getopt-specific header. always expose GNU functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/getopt.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/getopt.h b/include/getopt.h index 0de05aef..6d85c0b6 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -9,7 +9,6 @@ int getopt(int, char * const [], const char *); extern char *optarg; extern int optind, opterr, optopt; -#ifdef _GNU_SOURCE 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 -#endif #ifdef __cplusplus } |