projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a782fb2
)
net.h: don't use the reserved name __unused
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Sat, 10 Aug 2013 14:52:47 +0000
(16:52 +0200)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 19 Aug 2013 17:34:20 +0000
(12:34 -0500)
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
include/net.h
patch
|
blob
|
history
diff --git
a/include/net.h
b/include/net.h
index 7673470046f596263e170d0facbdffba74540299..5aedc17aa6dc36ea6600d2c24e3d011c9c140226 100644
(file)
--- 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];