提交 6e840ebc 编写于 作者: J Jeroen Hofstee 提交者: Joe Hershberger

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: NJeroen Hofstee <jeroen@myspectrum.nl>
cc: joe.hershberger@gmail.com
上级 a782fb2d
......@@ -357,7 +357,7 @@ struct icmp_hdr {
} echo;
ulong gateway;
struct {
ushort __unused;
ushort unused;
ushort mtu;
} frag;
uchar data[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册