diff options
author | Jim Meyering <jim@meyering.net> | 1993-12-29 02:23:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-12-29 02:23:25 +0000 |
commit | 67ef22bdd86a7300d83c3016e036de57a5dbd01b (patch) | |
tree | 49d94a9ce3a93a6d4cd3e46541a871169022941d | |
parent | a56062fc7832cc67a257c385a71ebecc8a783b0e (diff) | |
download | gnulib-67ef22bdd86a7300d83c3016e036de57a5dbd01b.tar.gz |
GNU shell utilities
-rw-r--r-- | lib/getopt.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/getopt.c b/lib/getopt.c index 7a4673b8d8..2f1e6d8d7a 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -20,6 +20,14 @@ along with this program; if not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. + * Ditto for AIX 3.2 and <stdlib.h>. + */ +#ifndef _NO_PROTO +#define _NO_PROTO +#endif + #ifdef HAVE_CONFIG_H #if defined (emacs) || defined (CONFIG_BROKETS) /* We use <config.h> instead of "config.h" so that a compilation @@ -39,11 +47,6 @@ #endif #endif -/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>. */ -#ifndef _NO_PROTO -#define _NO_PROTO -#endif - #include <stdio.h> /* Comment out all this code if we are using the GNU C Library, and are not |