1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

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

View File

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