diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-07-24 21:23:10 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-07-24 21:23:10 +0000 |
commit | 156e034ef9412b20f01b07cfbc2c159b90faee14 (patch) | |
tree | 7f1b3aab6fe96f9516d4a854971495bd41c65c72 /plugins | |
parent | 7743ecf3c9131047bfd668ff3cec505d891682d9 (diff) |
include pinfo_stats_tree.c in the build process, so MSVC compiles again
don't use extern before a function body, that don't make sense
svn path=/trunk/; revision=15048
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/stats_tree/Makefile.nmake | 2 | ||||
-rw-r--r-- | plugins/stats_tree/pinfo_stats_tree.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/stats_tree/Makefile.nmake b/plugins/stats_tree/Makefile.nmake index c06bb59051..252399ce8e 100644 --- a/plugins/stats_tree/Makefile.nmake +++ b/plugins/stats_tree/Makefile.nmake @@ -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) \ diff --git a/plugins/stats_tree/pinfo_stats_tree.c b/plugins/stats_tree/pinfo_stats_tree.c index 62cfbdda75..a8dacd90e6 100644 --- a/plugins/stats_tree/pinfo_stats_tree.c +++ b/plugins/stats_tree/pinfo_stats_tree.c @@ -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 ); |