diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-07-11 20:32:19 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-07-11 20:32:19 +0000 |
commit | 49b92440deaabb43114479e5b0e6af2c481ca8ac (patch) | |
tree | 011c39768a3be7d7d1f63d9d48d1b6e96383fdf0 /epan/tvbtest.c | |
parent | 1f923105f8a5c2c7bf82f1187984600ba14ef993 (diff) | |
download | wireshark-49b92440deaabb43114479e5b0e6af2c481ca8ac.tar.gz wireshark-49b92440deaabb43114479e5b0e6af2c481ca8ac.tar.bz2 wireshark-49b92440deaabb43114479e5b0e6af2c481ca8ac.zip |
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.c | 6 |
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); } |