From b21c8b30caadae86ad0eb463bdf8a26b3e2992dd Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Tue, 17 Aug 2021 22:23:33 +0000 Subject: [PATCH] remove unused includes --- Makefile.am | 4 ++-- bgpq4_printer.c | 4 ---- bgpq_expander.c | 6 ------ sx_prefix.c | 4 ---- sx_report.c | 4 ---- 5 files changed, 2 insertions(+), 20 deletions(-) diff --git a/Makefile.am b/Makefile.am index 00ff0da..2949213 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,9 +22,9 @@ EXTRA_DIST=bootstrap README.md CHANGES bgpq4.spec MAINTAINERCLEANFILES=configure aclocal.m4 compile \ install-sh missing Makefile.in depcomp \ - stamp-h1 config.h.in compat/Makefile.in \ + stamp-h1 compat/Makefile.in \ config.guess config.sub include/Makefile.in \ ltmain.sh maintainer-clean-local: - -rm -rf m4 autom4te.cache config.h.in~ + -rm -rf m4 autom4te.cache diff --git a/bgpq4_printer.c b/bgpq4_printer.c index 429ec12..9aae685 100644 --- a/bgpq4_printer.c +++ b/bgpq4_printer.c @@ -25,10 +25,6 @@ * SUCH DAMAGE. */ -#if HAVE_CONFIG_H -#include -#endif - #include #include #include diff --git a/bgpq_expander.c b/bgpq_expander.c index 5e0298c..6c1b9f5 100644 --- a/bgpq_expander.c +++ b/bgpq_expander.c @@ -25,15 +25,9 @@ * SUCH DAMAGE. */ -#if HAVE_CONFIG_H -#include "config.h" -#endif - #include #include -#if HAVE_SYS_SELECT_H #include -#endif #include #include diff --git a/sx_prefix.c b/sx_prefix.c index d365f54..b9d72ae 100644 --- a/sx_prefix.c +++ b/sx_prefix.c @@ -25,10 +25,6 @@ * SUCH DAMAGE. */ -#if HAVE_CONFIG_H -#include "config.h" -#endif - #include #include #include diff --git a/sx_report.c b/sx_report.c index 4742387..f410b84 100644 --- a/sx_report.c +++ b/sx_report.c @@ -24,10 +24,6 @@ * SUCH DAMAGE. */ -#if HAVE_CONFIG_H -#include -#endif - #include #include #include