aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbtest.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-10 13:04:21 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-10 13:04:21 +0000
commitea478f2c5e57eefbddcd6418d3e24a69312102c4 (patch)
tree35357370be8721b235c7eddb7fdc3e720a268497 /epan/tvbtest.c
parent617f2eddeff196df4c8ef819c57ecf564f48cbf5 (diff)
missing include for tvbtest + add 'const' (silent most of warnings).
svn path=/trunk/; revision=53222
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r--epan/tvbtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/tvbtest.c b/epan/tvbtest.c
index 63c3cd638b..8d45128289 100644
--- a/epan/tvbtest.c
+++ b/epan/tvbtest.c
@@ -29,6 +29,7 @@
#include <string.h>
#include "tvbuff.h"
+#include "exceptions.h"
#include "wsutil/pint.h"
gboolean failed = FALSE;
@@ -36,7 +37,7 @@ gboolean failed = FALSE;
/* Tests a tvbuff against the expected pattern/length.
* Returns TRUE if all tests succeeed, FALSE if any test fails */
gboolean
-test(tvbuff_t *tvb, gchar* name,
+test(tvbuff_t *tvb, const gchar* name,
guint8* expected_data, guint expected_length, guint expected_reported_length)
{
guint length;