summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-04 22:13:02 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-01-09 18:50:40 +0100
commit33744ae4fca311840cd2971fac433f2b6b2aadd5 (patch)
tree7c6edff60b5000d7b7755d998fb1e09af6918174
parentlib: remove net/route.h it is not used (diff)
downloadfrr-33744ae4fca311840cd2971fac433f2b6b2aadd5.tar.xz
frr-33744ae4fca311840cd2971fac433f2b6b2aadd5.zip
lib: zebra.h was including compiler.h two times
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--lib/zebra.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 326d3eb21..6a8397564 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -118,7 +118,6 @@
#include <netinet6/in.h>
#endif /* HAVE_NETINET6_IN_H */
-
#ifdef HAVE_NETINET6_IP6_H
#include <netinet6/ip6.h>
#endif /* HAVE_NETINET6_IP6_H */
@@ -232,12 +231,6 @@ struct in_pktinfo {
/* default zebra TCP port for zclient */
#define ZEBRA_PORT 2600
-/*
- * The compiler.h header is used for anyone using the CPP_NOTICE
- * since this is universally needed, let's add it to zebra.h
- */
-#include "compiler.h"
-
/* Zebra route's types are defined in route_types.h */
#include "lib/route_types.h"