diff --git a/Makefile.am b/Makefile.am index 9c5d024..00ff0da 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ dist_man8_MANS=bgpq4.8 bgpq4_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) bgpq4_LDADD += $(top_builddir)/compat/libcompat.la -bgpq4_SOURCES=bgpq4.c bgpq4.h config.h bgpq4_printer.c bgpq_expander.c \ +bgpq4_SOURCES=bgpq4.c extern.h bgpq4_printer.c bgpq_expander.c \ expander_freeall.c sx_maxsockbuf.c \ sx_prefix.c sx_prefix.h sx_report.c sx_report.h \ sx_slentry.c sx_slentry.h diff --git a/bgpq4.c b/bgpq4.c index 60e0e71..1f3cd04 100644 --- a/bgpq4.c +++ b/bgpq4.c @@ -41,7 +41,7 @@ #include #include -#include "bgpq4.h" +#include "extern.h" #include "sx_report.h" extern int debug_expander; diff --git a/bgpq4_printer.c b/bgpq4_printer.c index 416b5e0..aa5f173 100644 --- a/bgpq4_printer.c +++ b/bgpq4_printer.c @@ -38,7 +38,7 @@ #include #include -#include "bgpq4.h" +#include "extern.h" #include "sx_report.h" extern int debug_expander; diff --git a/bgpq_expander.c b/bgpq_expander.c index 526e70a..6f0ac75 100644 --- a/bgpq_expander.c +++ b/bgpq_expander.c @@ -49,7 +49,7 @@ #include #include -#include "bgpq4.h" +#include "extern.h" #include "sx_report.h" int debug_expander = 0; diff --git a/expander_freeall.c b/expander_freeall.c index 247d505..843cb50 100644 --- a/expander_freeall.c +++ b/expander_freeall.c @@ -27,7 +27,7 @@ #include #include -#include +#include "extern.h" void sx_radix_node_freeall(struct sx_radix_node *n) { diff --git a/bgpq4.h b/extern.h similarity index 100% rename from bgpq4.h rename to extern.h