mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
lib: drop DSO_SELF on inet_ntop
NetBSD doesn't seem to like this. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
53280f9327
commit
866f6e4008
@ -81,7 +81,7 @@ static inline void puthex(uint16_t word, char **posx)
|
|||||||
|
|
||||||
const char *frr_inet_ntop(int af, const void * restrict src,
|
const char *frr_inet_ntop(int af, const void * restrict src,
|
||||||
char * restrict dst, socklen_t size)
|
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,
|
const char *frr_inet_ntop(int af, const void * restrict src,
|
||||||
char * restrict dst, socklen_t size)
|
char * restrict dst, socklen_t size)
|
||||||
@ -170,5 +170,5 @@ inet4:
|
|||||||
* as frr_inet_ntop (to avoid confusion while debugging)
|
* as frr_inet_ntop (to avoid confusion while debugging)
|
||||||
*/
|
*/
|
||||||
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size)
|
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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user