aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-16 11:50:40 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-16 19:51:08 +0000
commitdb2395f14f3bddfb12dad0f8b259ffa65f1a7fa8 (patch)
tree6e549454f4158a001537d4e6a702d1a06db216f6 /epan
parent907f4e846930f71cf23aa0330ccc4f3ccc5e5937 (diff)
Fix declaration and export the routines.
Add a missing semicolon, and export the routines with WS_DLL_PUBLIC, so they can be used by plugins. Change-Id: Iaf52e70ce9fbfce3cfa675c453b7d39a0341dfeb Reviewed-on: https://code.wireshark.org/review/7184 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/g_int64_hash_routines.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/epan/g_int64_hash_routines.h b/epan/g_int64_hash_routines.h
index e606ebec5d..9388f56a1d 100644
--- a/epan/g_int64_hash_routines.h
+++ b/epan/g_int64_hash_routines.h
@@ -25,15 +25,17 @@ extern "C" {
#include <glib.h>
+#include "ws_symbol_export.h"
+
/* g_int64_hash, g_int64_equal are defined starting glib 2.22 - otherwise,
we have to provide them ourselves */
#if !GLIB_CHECK_VERSION(2,22,0)
-guint
+WS_DLL_PUBLIC guint
g_int64_hash (gconstpointer v);
-gboolean
+WS_DLL_PUBLIC gboolean
g_int64_equal (gconstpointer v1,
- gconstpointer v2)
+ gconstpointer v2);
#endif /* !GLIB_CHECK_VERSION(2,22,0) */
#ifdef __cplusplus