diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-02-28 14:09:46 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-02-28 14:09:46 +0000 |
commit | 45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 (patch) | |
tree | bb66eea36a288f1ab5e33468ee9bf2989339b2aa /wsutil/inet_v6defs.h | |
parent | 018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff) |
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
Diffstat (limited to 'wsutil/inet_v6defs.h')
-rw-r--r-- | wsutil/inet_v6defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |