summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.h
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-08 21:37:41 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-08 21:37:41 +0000
commit93dc7c672e88559f4ae90f91fdc693a94c8d940a (patch)
tree39cc60bda0148cb9e6312957cf961874d809c280 /sbin/ifconfig/ifconfig.h
parent2bd54b55a67f0891a12f690b4014bf1e5f4e5c90 (diff)
downloadFreeBSD-src-93dc7c672e88559f4ae90f91fdc693a94c8d940a.zip
FreeBSD-src-93dc7c672e88559f4ae90f91fdc693a94c8d940a.tar.gz
ISO C does not allow unnamed union members.
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r--sbin/ifconfig/ifconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h
index d57517c..505d8b1 100644
--- a/sbin/ifconfig/ifconfig.h
+++ b/sbin/ifconfig/ifconfig.h
@@ -51,7 +51,7 @@ struct cmd {
union {
c_func *c_func;
c_func2 *c_func2;
- };
+ } c_u;
struct cmd *c_next;
};
void cmd_register(struct cmd *);
OpenPOWER on IntegriCloud