summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-12 19:15:02 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-13 00:05:03 +0200
commit866f6e40086f8b9080f09db5df916c5e182ff5e4 (patch)
tree9b2e30aa625490f105ec00bc70f127b039224c41
parent53280f9327fafdc255e819f1c7887748147895e3 (diff)
lib: drop DSO_SELF on inet_ntop
NetBSD doesn't seem to like this. Signed-off-by: David Lamparter <equinox@diac24.net>
-rw-r--r--lib/ntop.c4
1 files 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