summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-03-04 08:49:20 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-03-04 08:49:20 +0000
commit1b6dfd8022bf0d2c2a12203f6d6ce1a3d9441a12 (patch)
tree4aa9f9369edf201ccaee8f6f614c32f522b85067
parentb18b43490dfcc6bb7688b6339eb3b463c674e5bc (diff)
downloadsrc-test2-1b6dfd8022bf0d2c2a12203f6d6ce1a3d9441a12.tar.gz
src-test2-1b6dfd8022bf0d2c2a12203f6d6ce1a3d9441a12.zip
Notes
-rw-r--r--usr.bin/m4/main.c4
-rw-r--r--usr.bin/m4/misc.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 77a274199a4a..6b77df8afeec 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -140,12 +140,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)
diff --git a/usr.bin/m4/misc.c b/usr.bin/m4/misc.c
index 452f849cf4d2..f1c5101033d3 100644
--- a/usr.bin/m4/misc.c
+++ b/usr.bin/m4/misc.c
@@ -229,7 +229,6 @@ basename(s)
register char *s;
{
register char *p;
- extern char *strrchr();
if ((p = strrchr(s, '/')) == NULL)
return s;