summaryrefslogtreecommitdiff
path: root/epan/tvbtest.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-07-11 20:32:19 +0000
committerGerald Combs <gerald@wireshark.org>2011-07-11 20:32:19 +0000
commit49b92440deaabb43114479e5b0e6af2c481ca8ac (patch)
tree011c39768a3be7d7d1f63d9d48d1b6e96383fdf0 /epan/tvbtest.c
parent1f923105f8a5c2c7bf82f1187984600ba14ef993 (diff)
downloadwireshark-49b92440deaabb43114479e5b0e6af2c481ca8ac.tar.gz
More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and reassemble_cleanup() since they were only used for older GLib versions which didn't support GSlices. Assume we always support the "matches" operator. svn path=/trunk/; revision=37978
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r--epan/tvbtest.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/tvbtest.c b/epan/tvbtest.c
index ae3aa8aea8..0a7c40eb7c 100644
--- a/epan/tvbtest.c
+++ b/epan/tvbtest.c
@@ -274,7 +274,7 @@ run_tests(void)
tvbuff_t *tvb_comp[6];
guint comp_length[6];
int len;
-
+
for (i = 0; i < 3; i++) {
small[i] = g_new(guint8, 16);
@@ -340,7 +340,7 @@ run_tests(void)
/* Composite tvbuffs don't work at the moment -- tests commented out until
* they do. */
-
+
/* One Real */
printf("Making Composite 0\n");
tvb_comp[0] = tvb_new_composite();
@@ -427,9 +427,7 @@ int
main(void)
{
except_init();
- tvbuff_init();
run_tests();
- tvbuff_cleanup();
except_deinit();
exit(failed?1:0);
}