diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-18 15:52:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-31 13:18:49 +0100 |
commit | 4e14deda1cded14091ed2b37e1144c7f31a9b2de (patch) | |
tree | 722df13c503c5a098cdb36d3aef157c85f22a7fc /freebsd/sbin/ifconfig/ifclone.c | |
parent | Use unmodified FreeBSD versions for port_*.h (diff) | |
download | rtems-libbsd-4e14deda1cded14091ed2b37e1144c7f31a9b2de.tar.bz2 |
IFCONFIG(8): Workaround for struct option confict
Diffstat (limited to 'freebsd/sbin/ifconfig/ifclone.c')
-rw-r--r-- | freebsd/sbin/ifconfig/ifclone.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/freebsd/sbin/ifconfig/ifclone.c b/freebsd/sbin/ifconfig/ifclone.c index 2d49780d..3cfeee25 100644 --- a/freebsd/sbin/ifconfig/ifclone.c +++ b/freebsd/sbin/ifconfig/ifclone.c @@ -179,11 +179,7 @@ clone_Copt_cb(const char *optarg __unused) list_cloners(); exit(0); } -#ifdef __rtems__ -static struct ifconfig_option clone_Copt = { .opt = "C", .opt_usage = "[-C]", .cb = clone_Copt_cb }; -#else static struct option clone_Copt = { .opt = "C", .opt_usage = "[-C]", .cb = clone_Copt_cb }; -#endif static __constructor void clone_ctor(void) |