Removed some more "statement not reached" warnings.
[obnox/wireshark/wip.git] / tap-funnel.c
index 490a558a22965f7cee30a1eacacc752537e3517f..f15b4d77b5d224489dc7cffb7023ec1199c460bb 100644 (file)
@@ -1,12 +1,36 @@
 /*
  *  tap-funnel.c
- *  
+ *
+ * EPAN's GUI mini-API
+ *
+ * (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
  */
 
 
 #include <epan/funnel.h>
 #include <stdio.h>
 #include <epan/stat_cmd_args.h>
+#include <epan/ws_strsplit.h>
 
 
 struct _funnel_text_window_t {
@@ -71,10 +95,17 @@ static const funnel_ops_t funnel_ops = {
     NULL,
     NULL,
     NULL,
-       NULL,
+    NULL,
     /*...,*/
     NULL,
     funnel_logger,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+       NULL,
        NULL
 };
 
@@ -126,7 +157,7 @@ static void  init_funnel_cmd(const char *optarg, void* data ) {
 }
 
 static void register_menu_cb(const char *name,
-                             REGISTER_STAT_GROUP_E group _U_,
+                             register_stat_group_t group _U_,
                              void (*callback)(gpointer),
                              gpointer callback_data,
                              gboolean retap _U_) {