From 6e840ebcd41ab40d0f8c7ff8d609d7edc8a0d723 Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Sat, 10 Aug 2013 16:52:47 +0200 Subject: [PATCH] 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 cc: joe.hershberger@gmail.com --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index 7673470046..5aedc17aa6 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]; -- 2.39.5