summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-10 14:47:35 +0000
committerpeter <peter@FreeBSD.org>1997-05-10 14:47:35 +0000
commit6f36e2eccf49524bd4de897bfe7947bf6020aec1 (patch)
treebbc42b3be15501600c2890d86b5b76ad568ef982 /sbin/ifconfig/ifconfig.h
parent4ca868f8b868864e07548f2b67d96af31b2591b0 (diff)
downloadFreeBSD-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.h9
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);
OpenPOWER on IntegriCloud