summaryrefslogtreecommitdiff
path: root/lib/sockunion.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 /lib/sockunion.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 'lib/sockunion.h')
-rw-r--r--lib/sockunion.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h
index 7dbd247dca..3af3d78059 100644
--- a/lib/sockunion.h
+++ b/lib/sockunion.h
@@ -109,17 +109,4 @@ extern union sockunion *sockunion_dup (const union sockunion *);
extern void sockunion_free (union sockunion *);
extern void sockunion_init (union sockunion *);
-#ifndef HAVE_INET_NTOP
-extern const char * inet_ntop (int family, const void *addrptr,
- char *strptr, size_t len);
-#endif /* HAVE_INET_NTOP */
-
-#ifndef HAVE_INET_PTON
-extern int inet_pton (int family, const char *strptr, void *addrptr);
-#endif /* HAVE_INET_PTON */
-
-#ifndef HAVE_INET_ATON
-extern int inet_aton (const char *cp, struct in_addr *inaddr);
-#endif
-
#endif /* _ZEBRA_SOCKUNION_H */