summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-03-02 19:45:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-03-02 19:45:11 +0000
commit5cb3044747c67bafbeff45e377b08042d9eb833b (patch)
tree040cbd65ff90020d5b990bc14ace05b7ca6188d6
parente911602ce271b51ed02e9f03d36e7addf885a090 (diff)
repair for ramdisk builds
-rw-r--r--sbin/ifconfig/ifconfig.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index d237a5d0b37..4bf2e435486 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.316 2016/03/02 00:00:16 dlg Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.317 2016/03/02 19:45:10 deraadt Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -3422,6 +3422,7 @@ delifparent(const char *ignored, int alsoignored)
if (ioctl(s, SIOCDIFPARENT, &ifr) < 0)
warn("SIOCDIFPARENT");
}
+#endif /* !SMALL */
void
getifparent(void)
@@ -3443,6 +3444,8 @@ getifparent(void)
printf("\tparent: %s\n", parent);
}
+#ifndef SMALL
+
void
mpe_status(void)
{