aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-10-12 09:57:29 +0200
committerMichael Mann <mmann78@netscape.net>2015-10-12 21:42:32 +0000
commit8adb9c0e681c48b04bf060347e2777cea2bc738f (patch)
tree6af11d8cb7ed6c6d4bc809a65e3d7a98434760d7 /wsutil
parentf8daf498a03e15e72cd1aecceaedbd04ee50d934 (diff)
inet_v6def : fix warning: redundant redeclaration of 'inet_pton' [-Wredundant-decls]
Change-Id: I937a65378a62be50d3d0d2f4a049b8cd73c8875c Reviewed-on: https://code.wireshark.org/review/10951 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/inet_v6defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/inet_v6defs.h b/wsutil/inet_v6defs.h
index e7f936dc5d..9e1f6f5caf 100644
--- a/wsutil/inet_v6defs.h
+++ b/wsutil/inet_v6defs.h
@@ -37,9 +37,9 @@
#ifdef _WIN32
#define inet_pton ws_inet_pton
#define inet_ntop ws_inet_ntop
+WS_DLL_PUBLIC int inet_pton(int af, const char *src, void *dst);
#endif
-WS_DLL_PUBLIC int inet_pton(int af, const char *src, void *dst);
#ifndef HAVE_INET_NTOP_PROTO
WS_DLL_PUBLIC const char *inet_ntop(int af, const void *src, char *dst,
size_t size);