From 45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Thu, 28 Feb 2013 14:09:46 +0000 Subject: Export libwsutil symbols using WS_DLL_PUBLIC define This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938 --- wsutil/inet_v6defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wsutil/inet_v6defs.h') diff --git a/wsutil/inet_v6defs.h b/wsutil/inet_v6defs.h index 891f92294e..04abecb872 100644 --- a/wsutil/inet_v6defs.h +++ b/wsutil/inet_v6defs.h @@ -24,6 +24,8 @@ #ifndef __INET_V6DEFS_H__ #define __INET_V6DEFS_H__ +#include "ws_symbol_export.h" + /* * Versions of "inet_pton()" and "inet_ntop()", for the benefit of OSes that * don't have it. @@ -39,8 +41,10 @@ #define inet_ntop ws_inet_ntop #endif +WS_DLL_PUBLIC extern int inet_pton(int af, const char *src, void *dst); #ifndef HAVE_INET_NTOP_PROTO +WS_DLL_PUBLIC extern const char *inet_ntop(int af, const void *src, char *dst, size_t size); #endif -- cgit v1.2.3