summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-01-11 14:50:21 +0200
committerGitHub <noreply@github.com>2024-01-11 14:50:21 +0200
commit67e8ef293f03b2dfd52981c7d82fbc98716fa1e5 (patch)
tree3c1d816e4f15c9a5c5332750b06216dadcf2be6f /lib/zebra.h
parent5fbf0cc00dd751442108990026607740ff3d49d9 (diff)
parentc402a0bdc1c5bfaa9b222fb213315ebd2ff7bff3 (diff)
Merge pull request #15098 from donaldsharp/lib_zebra_h_cleanup_2
Lib zebra h cleanup 2
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 06be33f5dd..8b0800c257 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -17,16 +17,9 @@
#include <stdlib.h>
#include <stddef.h>
#include <ctype.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <string.h>
-#include <pwd.h>
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif /* HAVE_STROPTS_H */
-#include <sys/select.h>
-#include <sys/stat.h>
#include <sys/types.h>
#include <sys/param.h>
#ifdef HAVE_SYS_SYSCTL_H
@@ -44,9 +37,7 @@
#endif /* HAVE_SYS_KSYM_H */
#include <sys/time.h>
#include <time.h>
-#include <limits.h>
#include <inttypes.h>
-#include <stdbool.h>
#ifdef HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
#endif
@@ -92,8 +83,6 @@
#include <net/if_var.h>
#endif /* HAVE_NET_IF_VAR_H */
-#include <net/route.h>
-
#ifndef HAVE_NETLINK
#define RT_TABLE_MAIN 0
#define RT_TABLE_LOCAL RT_TABLE_MAIN
@@ -122,7 +111,6 @@
#include <netinet6/in.h>
#endif /* HAVE_NETINET6_IN_H */
-
#ifdef HAVE_NETINET6_IP6_H
#include <netinet6/ip6.h>
#endif /* HAVE_NETINET6_IP6_H */
@@ -236,12 +224,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"