aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-12-04 04:20:18 +0000
committerGuy Harris <guy@alum.mit.edu>2005-12-04 04:20:18 +0000
commit2e6b1ac3b392528799716f803f488f99cde9d49e (patch)
tree6f9acfc653dfcc947812938c217cca26628ec35f /capture_info.c
parent02d9de5a5d5b74223f7522bacc30aec6a33a2762 (diff)
Declare "capture_info_packet()"'s as static, to match the definition.
Declare the "pd" argument to be "const guchar *", to match the way packet data is declared elsewhere, and so that if the headers "capture_info.c" includes don't define "u_char" it still compiles. svn path=/trunk/; revision=16671
Diffstat (limited to 'capture_info.c')
-rw-r--r--capture_info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capture_info.c b/capture_info.c
index 05a09542d2..192c64ce0c 100644
--- a/capture_info.c
+++ b/capture_info.c
@@ -57,8 +57,8 @@
-void capture_info_packet(
-packet_counts *counts, gint wtap_linktype, const u_char *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header);
+static void capture_info_packet(
+packet_counts *counts, gint wtap_linktype, const guchar *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header);
@@ -155,7 +155,7 @@ void capture_info_close(void)
static void
-capture_info_packet(packet_counts *counts, gint wtap_linktype, const u_char *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header)
+capture_info_packet(packet_counts *counts, gint wtap_linktype, const guchar *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header)
{
counts->total++;
switch (wtap_linktype) {