Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/gifconfig Remove bogus declarations of "errno".



details:   https://anonhg.NetBSD.org/src/rev/0505745699e8
branches:  trunk
changeset: 480875:0505745699e8
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jan 22 10:16:23 2000 +0000

description:
Remove bogus declarations of "errno".

diffstat:

 usr.sbin/gifconfig/gifconfig.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 0486821e09a9 -r 0505745699e8 usr.sbin/gifconfig/gifconfig.c
--- a/usr.sbin/gifconfig/gifconfig.c    Sat Jan 22 10:05:13 2000 +0000
+++ b/usr.sbin/gifconfig/gifconfig.c    Sat Jan 22 10:16:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gifconfig.c,v 1.5 1999/12/09 15:30:43 itojun Exp $     */
+/*     $NetBSD: gifconfig.c,v 1.6 2000/01/22 10:16:23 tron Exp $       */
 
 /*
  * Copyright (c) 1983, 1993
@@ -95,7 +95,6 @@
 int    setpsrc = 0;
 int    s;
 kvm_t  *kvmd;
-extern int errno;
 
 #ifdef INET6
 char ntop_buf[INET6_ADDRSTRLEN];       /*inet_ntop()*/
@@ -686,8 +685,6 @@
 Perror(cmd)
        char *cmd;
 {
-       extern int errno;
-
        switch (errno) {
 
        case ENXIO:



Home | Main Index | Thread Index | Old Index