]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: drop DSO_SELF on inet_ntop
authorDavid Lamparter <equinox@diac24.net>
Wed, 12 Jun 2019 17:15:02 +0000 (19:15 +0200)
committerDavid Lamparter <equinox@diac24.net>
Wed, 12 Jun 2019 22:05:03 +0000 (00:05 +0200)
NetBSD doesn't seem to like this.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/ntop.c

index d47a0b697aa699dde6e3e080c6889cc35126a003..066e10e3e485a12dc3e530799a21c5a1308fe703 100644 (file)
@@ -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