aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-15 22:31:22 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-15 22:31:22 +0000
commit78383bc64892af42b6ce6d27f2dbc362a633bd09 (patch)
tree0aa5835966bb12893000eb33d143247a8f4c36f4
parent491974d193909b329949c845602382507fd9c1c7 (diff)
The "loop_data" structure is used only in "capture.c"; move its
definition from "capture.h" to "capture.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@499 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--capture.c11
-rw-r--r--capture.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/capture.c b/capture.c
index 024315af9c..7fef47e3e9 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.51 1999/08/15 22:16:59 guy Exp $
+ * $Id: capture.c,v 1.52 1999/08/15 22:31:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -415,6 +415,15 @@ capture_prep_close_cb(GtkWidget *close_bt, gpointer parent_w)
gtk_widget_destroy(GTK_WIDGET(parent_w));
}
+typedef struct _loop_data {
+ gint go;
+ gint max;
+ gint linktype;
+ gint sync_packets;
+ packet_counts counts;
+ pcap_dumper_t *pdh;
+} loop_data;
+
void
capture(void) {
GtkWidget *cap_w, *main_vb, *count_lb, *tcp_lb, *udp_lb, *icmp_lb,
diff --git a/capture.h b/capture.h
index ce66a3f787..14555486de 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.11 1999/08/10 11:08:38 deniel Exp $
+ * $Id: capture.h,v 1.12 1999/08/15 22:31:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -32,15 +32,6 @@
#include <pcap.h>
#endif
-typedef struct _loop_data {
- gint go;
- gint max;
- gint linktype;
- gint sync_packets;
- packet_counts counts;
- pcap_dumper_t *pdh;
-} loop_data;
-
void capture_prep_cb(GtkWidget *, gpointer);
void capture(void);