From 7e4e31f94c681eaa49a08495847960aa93af5786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Fri, 2 Aug 2002 22:04:22 +0000 Subject: Replace the types from sys/types.h and netinet/in.h by their glib.h equivalents for the plugins/ directory. svn path=/trunk/; revision=5929 --- plugins/gryphon/packet-gryphon.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'plugins/gryphon/packet-gryphon.c') diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c index fddad1487e..03fae22b9e 100644 --- a/plugins/gryphon/packet-gryphon.c +++ b/plugins/gryphon/packet-gryphon.c @@ -3,7 +3,7 @@ * By Steve Limkemann * Copyright 1998 Steve Limkemann * - * $Id: packet-gryphon.c,v 1.33 2002/05/05 00:16:38 guy Exp $ + * $Id: packet-gryphon.c,v 1.34 2002/08/02 22:04:20 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -32,18 +32,11 @@ #include "moduleinfo.h" -#ifdef HAVE_SYS_TYPES_H -#include -#endif - #include #include #include #include -#ifdef HAVE_NETINET_IN_H -# include -#endif #include #include "packet-gryphon.h" #include "packet-tcp.h" @@ -1673,7 +1666,7 @@ static int cmd_files(tvbuff_t *tvb, int offset, proto_tree *pt) { int msglen; - u_char *which; + guchar *which; msglen = tvb_reported_length_remaining(tvb, offset); if (tvb_get_guint8(tvb, offset) == 0) @@ -1692,7 +1685,7 @@ static int resp_files(tvbuff_t *tvb, int offset, proto_tree *pt) { int msglen; - u_char *flag; + guchar *flag; msglen = tvb_reported_length_remaining(tvb, offset); flag = tvb_get_guint8(tvb, offset) ? "Yes": "No"; @@ -1705,7 +1698,7 @@ resp_files(tvbuff_t *tvb, int offset, proto_tree *pt) static int cmd_usdt(tvbuff_t *tvb, int offset, proto_tree *pt) { - u_char *desc; + guchar *desc; guint8 assemble_flag; if (tvb_get_guint8(tvb, offset)) -- cgit v1.2.3