summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-10 17:14:53 +0000
committerpeter <peter@FreeBSD.org>1997-05-10 17:14:53 +0000
commitef73892b1acfc074fbfd815642d36a0659a87649 (patch)
tree3bf2e20393ebcbc892067d21d025400c7ca36553 /sbin/ifconfig/ifconfig.h
parent5681e6fd51e2d8b6bac63e3c6e700141ca75b7bb (diff)
downloadFreeBSD-src-ef73892b1acfc074fbfd815642d36a0659a87649.zip
FreeBSD-src-ef73892b1acfc074fbfd815642d36a0659a87649.tar.gz
Clean up some more. Move parsing of sysctl iflist data into a single
place rather than updating the main loop's index variables from within a subroutine and other revolting things like that. Move some more globals into local variables.
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r--sbin/ifconfig/ifconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h
index 7589a48..85555e3 100644
--- a/sbin/ifconfig/ifconfig.h
+++ b/sbin/ifconfig/ifconfig.h
@@ -31,7 +31,7 @@
*
* so there!
*
- * $Id: ifconfig.h,v 1.1 1997/05/04 06:27:45 peter Exp $
+ * $Id: ifconfig.h,v 1.2 1997/05/10 14:47:35 peter Exp $
*/
extern struct ifreq ifr;
@@ -43,4 +43,4 @@ struct afswtch;
extern void setmedia(const char *, int, int, const struct afswtch *rafp);
extern void setmediaopt(const char *, int, int, const struct afswtch *rafp);
extern void unsetmediaopt(const char *, int, int, const struct afswtch *rafp);
-extern void media_status(int s);
+extern void media_status(int s, struct rt_addrinfo *);
OpenPOWER on IntegriCloud