Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ndp Don't declare 'extern opt*' getopt variables.
details: https://anonhg.NetBSD.org/src/rev/ccdd6f58af7a
branches: trunk
changeset: 484879:ccdd6f58af7a
user: simonb <simonb%NetBSD.org@localhost>
date: Fri Apr 14 06:28:18 2000 +0000
description:
Don't declare 'extern opt*' getopt variables.
Don't declare 'extern int h_errno;' - it's in <netdb.h>.
diffstat:
usr.sbin/ndp/ndp.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 48c4a1a8942e -r ccdd6f58af7a usr.sbin/ndp/ndp.c
--- a/usr.sbin/ndp/ndp.c Fri Apr 14 06:26:52 2000 +0000
+++ b/usr.sbin/ndp/ndp.c Fri Apr 14 06:28:18 2000 +0000
@@ -170,8 +170,6 @@
int ch;
int aflag = 0, cflag = 0, dflag = 0, sflag = 0, Hflag = 0,
pflag = 0, rflag = 0, Pflag = 0, Rflag = 0;
- extern char *optarg;
- extern int optind;
pid = getpid();
thiszone = gmt2local(0);
@@ -517,7 +515,6 @@
struct rt_msghdr *rtm;
struct sockaddr_in6 *sin;
struct sockaddr_dl *sdl;
- extern int h_errno;
struct in6_nbrinfo *nbi;
struct timeval time;
int addrwidth;
Home |
Main Index |
Thread Index |
Old Index