net.h: don't use the reserved name __unused

The __* keywords are reserved. On FreeBSD __unused evaluates
to the attribute unused, causing a compilation failure.
Just use unused instead.

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
cc: joe.hershberger@gmail.com
This commit is contained in:
Jeroen Hofstee 2013-08-10 16:52:47 +02:00 committed by Joe Hershberger
parent a782fb2d75
commit 6e840ebcd4
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ struct icmp_hdr {
} echo;
ulong gateway;
struct {
ushort __unused;
ushort unused;
ushort mtu;
} frag;
uchar data[0];