From 866f6e40086f8b9080f09db5df916c5e182ff5e4 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 12 Jun 2019 19:15:02 +0200 Subject: [PATCH] lib: drop DSO_SELF on inet_ntop NetBSD doesn't seem to like this. Signed-off-by: David Lamparter --- lib/ntop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ntop.c b/lib/ntop.c index d47a0b697a..066e10e3e4 100644 --- a/lib/ntop.c +++ b/lib/ntop.c @@ -81,7 +81,7 @@ static inline void puthex(uint16_t word, char **posx) const char *frr_inet_ntop(int af, const void * restrict src, char * restrict dst, socklen_t size) - __attribute__((flatten)) DSO_SELF OPTIMIZE; + __attribute__((flatten)) OPTIMIZE; const char *frr_inet_ntop(int af, const void * restrict src, char * restrict dst, socklen_t size) @@ -170,5 +170,5 @@ inet4: * as frr_inet_ntop (to avoid confusion while debugging) */ const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) - __attribute__((alias ("frr_inet_ntop"))) DSO_SELF; + __attribute__((alias ("frr_inet_ntop"))); #endif -- 2.39.5