From 1b6dfd8022bf0d2c2a12203f6d6ce1a3d9441a12 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 4 Mar 2001 08:49:20 +0000 Subject: MFC: main.c r1.9, misc.c r1.6: remove extraneous externs --- usr.bin/m4/main.c | 4 ---- usr.bin/m4/misc.c | 1 - 2 files changed, 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; -- cgit v1.2.3