diff options
author | peter <peter@FreeBSD.org> | 1997-05-10 17:14:53 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-10 17:14:53 +0000 |
commit | ef73892b1acfc074fbfd815642d36a0659a87649 (patch) | |
tree | 3bf2e20393ebcbc892067d21d025400c7ca36553 /sbin/ifconfig/ifconfig.h | |
parent | 5681e6fd51e2d8b6bac63e3c6e700141ca75b7bb (diff) | |
download | FreeBSD-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.h | 4 |
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 *); |