Skip to content

Commit b21c8b3

Browse files
committed
remove unused includes
1 parent 270e04d commit b21c8b3

File tree

5 files changed

+2
-20
lines changed

5 files changed

+2
-20
lines changed

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ EXTRA_DIST=bootstrap README.md CHANGES bgpq4.spec
2222

2323
MAINTAINERCLEANFILES=configure aclocal.m4 compile \
2424
install-sh missing Makefile.in depcomp \
25-
stamp-h1 config.h.in compat/Makefile.in \
25+
stamp-h1 compat/Makefile.in \
2626
config.guess config.sub include/Makefile.in \
2727
ltmain.sh
2828

2929
maintainer-clean-local:
30-
-rm -rf m4 autom4te.cache config.h.in~
30+
-rm -rf m4 autom4te.cache

bgpq4_printer.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
* SUCH DAMAGE.
2626
*/
2727

28-
#if HAVE_CONFIG_H
29-
#include <config.h>
30-
#endif
31-
3228
#include <sys/types.h>
3329
#include <sys/socket.h>
3430
#include <netinet/in.h>

bgpq_expander.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,9 @@
2525
* SUCH DAMAGE.
2626
*/
2727

28-
#if HAVE_CONFIG_H
29-
#include "config.h"
30-
#endif
31-
3228
#include <sys/types.h>
3329
#include <sys/socket.h>
34-
#if HAVE_SYS_SELECT_H
3530
#include <sys/select.h>
36-
#endif
3731

3832
#include <assert.h>
3933
#include <fcntl.h>

sx_prefix.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
* SUCH DAMAGE.
2626
*/
2727

28-
#if HAVE_CONFIG_H
29-
#include "config.h"
30-
#endif
31-
3228
#include <ctype.h>
3329
#include <errno.h>
3430
#include <stdio.h>

sx_report.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
* SUCH DAMAGE.
2525
*/
2626

27-
#if HAVE_CONFIG_H
28-
#include <config.h>
29-
#endif
30-
3127
#include <errno.h>
3228
#include <inttypes.h>
3329
#include <stdarg.h>

0 commit comments

Comments
 (0)