diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-09-12 09:44:19 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-09-12 11:40:40 +0000 |
commit | 794d1bb58deb66d824572e3b0e858e156b937dec (patch) | |
tree | 0f00a83b0df9e2b0cdd8646ba82dc6eb56c53981 /epan/tvbtest.c | |
parent | 40789524c5c84d14b98b308628b3b3774f226934 (diff) |
tvbtest: fix no previous prototype for ‘test/skip/run_tests’ [-Wmissing-prototypes]
Change-Id: I21a2a0edc4cb96d4d757e4d6e9c38d7fc922afc8
Reviewed-on: https://code.wireshark.org/review/29631
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r-- | epan/tvbtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/tvbtest.c b/epan/tvbtest.c index 44380ae984..72e580e31d 100644 --- a/epan/tvbtest.c +++ b/epan/tvbtest.c @@ -23,7 +23,7 @@ gboolean failed = FALSE; /* Tests a tvbuff against the expected pattern/length. * Returns TRUE if all tests succeeed, FALSE if any test fails */ -gboolean +static gboolean test(tvbuff_t *tvb, const gchar* name, guint8* expected_data, guint expected_length, guint expected_reported_length) { @@ -273,7 +273,7 @@ test(tvbuff_t *tvb, const gchar* name, return TRUE; } -gboolean +static gboolean skip(tvbuff_t *tvb _U_, gchar* name, guint8* expected_data _U_, guint expected_length _U_) { @@ -282,7 +282,7 @@ skip(tvbuff_t *tvb _U_, gchar* name, } -void +static void run_tests(void) { int i, j; |