aboutsummaryrefslogtreecommitdiffstats
path: root/packet-raw.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-02 23:36:07 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-02 23:36:07 +0000
commit4ad4caac3465466d917054d2f911b18ba27b4fe0 (patch)
tree21967e4c27ac5e02aa39319022dd2858682fc5f4 /packet-raw.c
parent14e1dba11b93d23bda70c030b0f4dbcc8ea5c4a4 (diff)
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5932 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-raw.c')
-rw-r--r--packet-raw.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/packet-raw.c b/packet-raw.c
index 8eaa66a1f1..8931192511 100644
--- a/packet-raw.c
+++ b/packet-raw.c
@@ -1,7 +1,7 @@
/* packet-raw.c
* Routines for raw packet disassembly
*
- * $Id: packet-raw.c,v 1.33 2002/02/05 00:09:45 guy Exp $
+ * $Id: packet-raw.c,v 1.34 2002/08/02 23:35:57 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -28,10 +28,6 @@
# include "config.h"
#endif
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#include <string.h>
#include <glib.h>
#include <epan/packet.h>
@@ -50,7 +46,7 @@ static dissector_handle_t data_handle;
static dissector_handle_t ppp_hdlc_handle;
void
-capture_raw(const u_char *pd, int len, packet_counts *ld)
+capture_raw(const guchar *pd, int len, packet_counts *ld)
{
/* So far, the only time we get raw connection types are with Linux and
* Irix PPP connections. We can't tell what type of data is coming down