Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/ping6 Remove bogus declarations of "errno", "optind" an...



details:   https://anonhg.NetBSD.org/src/rev/fc52aaa1fac8
branches:  trunk
changeset: 480873:fc52aaa1fac8
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jan 22 10:01:41 2000 +0000

description:
Remove bogus declarations of "errno", "optind" and "optarg".

diffstat:

 sbin/ping6/ping6.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r be318ce8d3ab -r fc52aaa1fac8 sbin/ping6/ping6.c
--- a/sbin/ping6/ping6.c        Sat Jan 22 09:48:52 2000 +0000
+++ b/sbin/ping6/ping6.c        Sat Jan 22 10:01:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping6.c,v 1.9 1999/12/13 15:26:00 itojun Exp $ */
+/*     $NetBSD: ping6.c,v 1.10 2000/01/22 10:01:41 tron Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -80,7 +80,7 @@
 #else
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ping6.c,v 1.9 1999/12/13 15:26:00 itojun Exp $");
+__RCSID("$NetBSD: ping6.c,v 1.10 2000/01/22 10:01:41 tron Exp $");
 #endif
 #endif
 
@@ -252,8 +252,6 @@
        int argc;
        char *argv[];
 {
-       extern int errno, optind;
-       extern char *optarg;
        struct itimerval itimer;
        struct sockaddr_in6 from;
        struct timeval timeout;



Home | Main Index | Thread Index | Old Index