From 65df4b51f5b60ed628d77d639a99c5b0153240a9 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 29 Jun 2018 23:15:51 -0400 Subject: [PATCH] freebsd11_network: Discard __FBSDID() macros instead of declaring them. Nothing uses them, and they just generate a ton of "unused global" warnings. --- src/libs/compat/freebsd11_network/compat/sys/cdefs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libs/compat/freebsd11_network/compat/sys/cdefs.h b/src/libs/compat/freebsd11_network/compat/sys/cdefs.h index accce562a3..f5efc6d043 100644 --- a/src/libs/compat/freebsd11_network/compat/sys/cdefs.h +++ b/src/libs/compat/freebsd11_network/compat/sys/cdefs.h @@ -39,7 +39,11 @@ #include +#if 0 #define __FBSDID(str) static const char __fbsdid[] = str +#else +#define __FBSDID(str) +#endif /* * This code has been put in place to help reduce the addition of