diff options
| author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2013-08-10 16:52:47 +0200 | 
|---|---|---|
| committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-08-19 12:34:20 -0500 | 
| commit | 6e840ebcd41ab40d0f8c7ff8d609d7edc8a0d723 (patch) | |
| tree | d1926f55eda759e735f57456112300e0b46e71e7 /include/net.h | |
| parent | a782fb2d7587937528dc73541fda489241ea2c56 (diff) | |
| download | olio-uboot-2014.01-6e840ebcd41ab40d0f8c7ff8d609d7edc8a0d723.tar.xz olio-uboot-2014.01-6e840ebcd41ab40d0f8c7ff8d609d7edc8a0d723.zip | |
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
Diffstat (limited to 'include/net.h')
| -rw-r--r-- | include/net.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/net.h b/include/net.h index 767347004..5aedc17aa 100644 --- a/include/net.h +++ b/include/net.h @@ -357,7 +357,7 @@ struct icmp_hdr {  		} echo;  		ulong	gateway;  		struct { -			ushort	__unused; +			ushort	unused;  			ushort	mtu;  		} frag;  		uchar data[0]; |