aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-02 23:46:26 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-02 23:46:26 +0000
commit10bad8ce0992cf24b764b18bd67513374427a7ed (patch)
tree32cfa1bc56727ac3a7d5cac5f19e2896ad54605c
parent4ad4caac3465466d917054d2f911b18ba27b4fe0 (diff)
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
-rw-r--r--doc/README.developer14
-rw-r--r--doc/README.tvbuff4
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 <YOUR_EMAIL_ADDRESS>
*
- * $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 <gerald@ethereal.com>
@@ -184,14 +184,6 @@ version of the file is currently checked out.
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-
#include <glib.h>
#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 = &pi;