summaryrefslogtreecommitdiff
path: root/epan/reassemble_test.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-02-28 09:00:05 +0000
committerGuy Harris <guy@alum.mit.edu>2012-02-28 09:00:05 +0000
commitb252f2e632f224e41772bda8749168490d198461 (patch)
treec9975b8fc54a9bf1334163b4eec76f2477a67ca3 /epan/reassemble_test.c
parentc503c241c0dcbe3b30bee99dedd0873aa156d9e8 (diff)
downloadwireshark-b252f2e632f224e41772bda8749168490d198461.tar.gz
OK, to heck with it - link reassemble_test with libwireshark. Trying to
selectively pick up particular object files is just too much of a mess. Alas, this requires that we add some additional symbols to the list exported by libwireshark; the DCE RPC ones shouldn't be global, but reassemble_test uses them, so.... Get rid of stubs in reassemble_test.c - they just stub out routines from libwireshark, but that's not necessary any more. svn path=/trunk/; revision=41223
Diffstat (limited to 'epan/reassemble_test.c')
-rw-r--r--epan/reassemble_test.c50
1 files changed, 0 insertions, 50 deletions
diff --git a/epan/reassemble_test.c b/epan/reassemble_test.c
index 6de2f664d7..6c9f5b4808 100644
--- a/epan/reassemble_test.c
+++ b/epan/reassemble_test.c
@@ -1700,53 +1700,3 @@ main(int argc _U_, char **argv _U_)
printf(failure?"FAILURE\n":"SUCCESS\n");
return failure;
}
-
-
-/* stubs */
-void add_new_data_source(packet_info *pinfo _U_, tvbuff_t *tvb _U_,
- const char *name _U_)
-{}
-
-proto_item *
-proto_tree_add_uint(proto_tree *tree _U_, int hfindex _U_, tvbuff_t *tvb _U_,
- gint start _U_, gint length _U_, guint32 value _U_)
-{ return NULL; }
-
-void proto_item_prepend_text(proto_item *ti _U_, const char *format _U_, ...)
-{}
-
-void proto_item_append_text(proto_item *ti _U_, const char *format _U_, ...)
-{}
-
-proto_item *proto_tree_add_uint_format(proto_tree *tree _U_, int hfindex _U_,
- tvbuff_t *tvb _U_, gint start _U_,
- gint length _U_, guint32 value _U_,
- const char *format _U_, ...)
-{ return NULL; }
-
-proto_tree* proto_item_add_subtree(proto_item *ti _U_, const gint idx _U_)
-{ return NULL; }
-
-proto_item *proto_tree_add_boolean(proto_tree *tree _U_, int hfindex _U_,
- tvbuff_t *tvb _U_, gint start _U_,
- gint length _U_, guint32 value _U_)
-{ return NULL; }
-
-proto_item *proto_tree_add_item(proto_tree *tree _U_, const int hfindex _U_,
- tvbuff_t *tvb _U_, const gint start _U_,
- gint length _U_,
- const guint encoding _U_)
-{ return NULL; }
-
-gint check_col(column_info *cinfo _U_, const gint col _U_)
-{ return 0; }
-
-void col_add_fstr(column_info *cinfo _U_, const gint col _U_, const gchar *format _U_,
- ...)
-{}
-
-const char* proto_registrar_get_name(const int n _U_)
-{ return ""; }
-
-void proto_item_set_text(proto_item *ti _U_, const char *format _U_, ...)
-{ }