Browse Source

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
Jeroen Hofstee 11 years ago
parent
commit
6e840ebcd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/net.h

+ 1 - 1
include/net.h

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