From 10bad8ce0992cf24b764b18bd67513374427a7ed Mon Sep 17 00:00:00 2001 From: jmayer Date: Fri, 2 Aug 2002 23:46:26 +0000 Subject: Replace the types from sys/types.h and netinet/in.h by their glib.h equivalents in the READMEs and examples in the doc/ directory. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5933 f5534014-38df-0310-8fa8-9805f1628bb7 --- doc/README.developer | 14 +++----------- doc/README.tvbuff | 4 ++-- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/doc/README.developer b/doc/README.developer index 6cc4904c9f..1ae8fe3338 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1,4 +1,4 @@ -$Id: README.developer,v 1.59 2002/07/15 20:31:06 guy Exp $ +$Id: README.developer,v 1.60 2002/08/02 23:46:25 jmayer Exp $ This file is a HOWTO for Ethereal developers. It describes how to start coding a Ethereal protocol dissector and the use some of the important functions and @@ -139,7 +139,7 @@ code inside is needed only if you are using the "snprintf()" function. -The "$Id: README.developer,v 1.59 2002/07/15 20:31:06 guy Exp $" +The "$Id: README.developer,v 1.60 2002/08/02 23:46:25 jmayer Exp $" in the comment will be updated by CVS when the file is checked in; it will allow the RCS "ident" command to report which version of the file is currently checked out. @@ -149,7 +149,7 @@ version of the file is currently checked out. * Routines for PROTONAME dissection * Copyright 2000, YOUR_NAME * - * $Id: README.developer,v 1.59 2002/07/15 20:31:06 guy Exp $ + * $Id: README.developer,v 1.60 2002/08/02 23:46:25 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -184,14 +184,6 @@ version of the file is currently checked out. #include #include -#ifdef HAVE_SYS_TYPES_H -# include -#endif - -#ifdef HAVE_NETINET_IN_H -# include -#endif - #include #ifdef NEED_SNPRINTF_H diff --git a/doc/README.tvbuff b/doc/README.tvbuff index 2fc0b9e494..8b3a6a0218 100644 --- a/doc/README.tvbuff +++ b/doc/README.tvbuff @@ -1,4 +1,4 @@ -$Id: README.tvbuff,v 1.4 2000/06/15 03:49:00 gram Exp $ +$Id: README.tvbuff,v 1.5 2002/08/02 23:46:26 jmayer Exp $ TVBUFFs and Exceptions @@ -198,7 +198,7 @@ dissect_cops(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { #else static void -dissect_cops(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) +dissect_cops(const guchar *pd, int offset, frame_data *fd, proto_tree *tree) { tvbuff_t *tvb; packet_info *pinfo = π -- cgit v1.2.3