summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-09-04 06:09:54 +0000
committerimp <imp@FreeBSD.org>2000-09-04 06:09:54 +0000
commit3c95f9ccdee03bbd5201ce0c06d795f6b132e266 (patch)
tree4e524d498db186c036b4495d56fd8d77c6a9d266 /usr.bin/m4
parent180527062b861cb7c3ec4718c0522abe8677950a (diff)
downloadFreeBSD-src-3c95f9ccdee03bbd5201ce0c06d795f6b132e266.zip
FreeBSD-src-3c95f9ccdee03bbd5201ce0c06d795f6b132e266.tar.gz
getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 41b7b13..93fd81f 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -139,12 +139,8 @@ struct keyblk keywrds[] = { /* m4 keywords to be installed */
#define MAXKEYS (sizeof(keywrds)/sizeof(struct keyblk))
-extern int optind;
-extern char *optarg;
-
void macro();
void initkwds();
-extern int getopt();
int
main(argc,argv)
OpenPOWER on IntegriCloud