diff options
author | peter <peter@FreeBSD.org> | 1997-05-10 14:47:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-10 14:47:35 +0000 |
commit | 6f36e2eccf49524bd4de897bfe7947bf6020aec1 (patch) | |
tree | bbc42b3be15501600c2890d86b5b76ad568ef982 /sbin/ifconfig/ifconfig.h | |
parent | 4ca868f8b868864e07548f2b67d96af31b2591b0 (diff) | |
download | FreeBSD-src-6f36e2eccf49524bd4de897bfe7947bf6020aec1.zip FreeBSD-src-6f36e2eccf49524bd4de897bfe7947bf6020aec1.tar.gz |
Grumble.. My last patchup here didn't quite work either. I hate this
program and it's use of global variables. Somehow, I managed to miss the
most obvious case.. "ifconfig ed0 10.0.0.1" failed (no "inet")
Submitted by: dfr
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r-- | sbin/ifconfig/ifconfig.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h index d840d05..7589a48 100644 --- a/sbin/ifconfig/ifconfig.h +++ b/sbin/ifconfig/ifconfig.h @@ -31,15 +31,16 @@ * * so there! * - * $Id$ + * $Id: ifconfig.h,v 1.1 1997/05/04 06:27:45 peter Exp $ */ extern struct ifreq ifr; extern char name[32]; /* name of interface */ extern int allmedia; +struct afswtch; -extern void setmedia(const char *, int, int); -extern void setmediaopt(const char *, int, int); -extern void unsetmediaopt(const char *, int, int); +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); |