summaryrefslogtreecommitdiff
path: root/wsutil/ws_mempbrk.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-06-09 17:30:08 +0200
committerAnders Broman <a.broman58@gmail.com>2014-06-09 15:31:45 +0000
commit8e8a4ceba30f2034c74d1542f3f04eaffa79979e (patch)
treeb5622406f3b292c76f894b26a24993b2d876b4a1 /wsutil/ws_mempbrk.c
parent9dbf2ff28e1fe9e88e90ae1cefaf5295cbf1287f (diff)
downloadwireshark-8e8a4ceba30f2034c74d1542f3f04eaffa79979e.tar.gz
Try to fix the builds.
Change-Id: I3ccb5c1b40504cd9314da5a09b225e3e2bf991b8 Reviewed-on: https://code.wireshark.org/review/2073 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wsutil/ws_mempbrk.c')
-rw-r--r--wsutil/ws_mempbrk.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/wsutil/ws_mempbrk.c b/wsutil/ws_mempbrk.c
index bde8452f8b..9a01433bb7 100644
--- a/wsutil/ws_mempbrk.c
+++ b/wsutil/ws_mempbrk.c
@@ -24,12 +24,7 @@
#include <glib.h>
#include "ws_symbol_export.h"
#include "ws_cpuid.h"
-
-#ifdef HAVE_SSE42
-extern const char *_ws_mempbrk_sse42(const char* haystack, size_t haystacklen, const char *needles);
-#endif
-
-const guint8 *_ws_mempbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles);
+#include "ws_mempbrk.h"
const guint8 *
_ws_mempbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles)
@@ -56,7 +51,7 @@ ws_mempbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles)
#ifdef HAVE_SSE42
guint32 CPUInfo[4];
guint32 bSSE42Extensions;
- /*const int has_sse42 = 1;*/ /* XXX, use CPUID */
+
#endif
if (*needles == 0)
return NULL;