mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 20:41:16 +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:
committed by
Joe Hershberger
parent
a782fb2d75
commit
6e840ebcd4
@@ -357,7 +357,7 @@ struct icmp_hdr {
|
|||||||
} echo;
|
} echo;
|
||||||
ulong gateway;
|
ulong gateway;
|
||||||
struct {
|
struct {
|
||||||
ushort __unused;
|
ushort unused;
|
||||||
ushort mtu;
|
ushort mtu;
|
||||||
} frag;
|
} frag;
|
||||||
uchar data[0];
|
uchar data[0];
|
||||||
|
Reference in New Issue
Block a user