include pinfo_stats_tree.c in the build process, so MSVC compiles again
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 24 Jul 2005 21:23:10 +0000 (21:23 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 24 Jul 2005 21:23:10 +0000 (21:23 +0000)
don't use extern before a function body, that don't make sense

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15048 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/stats_tree/Makefile.nmake
plugins/stats_tree/pinfo_stats_tree.c

index c06bb590513acbbec4127c0d598749b2e0ac5c17..252399ce8e1f2d1773339c1a801c741a58633c36 100644 (file)
@@ -19,7 +19,7 @@ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
 LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
 CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
 
-OBJECTS=stats_tree_plugin.obj
+OBJECTS=stats_tree_plugin.obj pinfo_stats_tree.obj
 
 stats_tree.dll stats_tree.exp stats_tree.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
        link -dll /out:stats_tree.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
index 62cfbdda75141dccf7db0dc6057e41a237e6167a..a8dacd90e69974971d3271b0b462dabcbee8281b 100644 (file)
@@ -136,7 +136,7 @@ static int dsts_stats_tree_packet(stats_tree* st, packet_info* pinfo, epan_disse
 }
 
 /* register all pinfo trees */
-extern void register_pinfo_stat_trees(void) {
+void register_pinfo_stat_trees(void) {
        stats_tree_register("ip","ip_hosts",st_str_ip, ip_hosts_stats_tree_packet, ip_hosts_stats_tree_init, NULL );
        stats_tree_register("ip","ptype",st_str_ptype, ptype_stats_tree_packet, ptype_stats_tree_init, NULL );
        stats_tree_register("frame","plen",st_str_plen, plen_stats_tree_packet, plen_stats_tree_init, NULL );