aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.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 /epan/tvbuff.c
parent9dbf2ff28e1fe9e88e90ae1cefaf5295cbf1287f (diff)
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 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index a286924053..b892ec8b36 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -44,6 +44,7 @@
#include "wsutil/unicode-utils.h"
#include "wsutil/nstime.h"
#include "wsutil/time_util.h"
+#include "wsutil/ws_mempbrk.h"
#include "tvbuff.h"
#include "tvbuff-int.h"
#include "strutil.h"
@@ -739,8 +740,6 @@ fast_ensure_contiguous(tvbuff_t *tvb, const gint offset, const guint length)
return NULL;
}
-extern const guint8 *ws_mempbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles);
-
static inline const guint8*
guint8_pbrk(const guint8* haystack, size_t haystacklen, const guint8 *needles, guchar *found_needle)
{