summaryrefslogtreecommitdiff
path: root/bgpd/bgp_regex.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-15 13:37:14 +0900
committerDavid Lamparter <equinox@opensourcerouting.org>2016-11-15 14:23:17 +0900
commit24f5e2fc62606c25c4b43e2dd77aea9aa721acba (patch)
tree3aa5ce435a7fef3f8a7b568e5ac808b851664db1 /bgpd/bgp_regex.h
parenta89b1641fd23740daf9a7331417b1373aa3d5932 (diff)
build: massively remove needless checks
Since we have autoconf results from a wide swath of target platforms, we can go remove checks that have the same result on all systems. This also removes several "fallback" implementations of functions that, at some point in the history, weren't available on all target platforms. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_regex.h')
-rw-r--r--bgpd/bgp_regex.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/bgpd/bgp_regex.h b/bgpd/bgp_regex.h
index 9fc832229a..e5d28d1b74 100644
--- a/bgpd/bgp_regex.h
+++ b/bgpd/bgp_regex.h
@@ -26,11 +26,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#ifdef HAVE_LIBPCREPOSIX
# include <pcreposix.h>
#else
-# ifdef HAVE_GNU_REGEX
-# include <regex.h>
-# else
-# include "regex-gnu.h"
-# endif /* HAVE_GNU_REGEX */
+# include <regex.h>
#endif /* HAVE_LIBPCREPOSIX */
extern void bgp_regex_free (regex_t *regex);