Add #include <string.h>, to get prototypes for mem* and str* functions.

svn path=/trunk/; revision=2654
This commit is contained in:
Gilbert Ramirez 2000-11-17 21:00:40 +00:00
parent d50abaf3f4
commit abb6702fc2
27 changed files with 54 additions and 27 deletions

View File

@ -1,7 +1,7 @@
/* column.c
* Routines for handling column preferences
*
* $Id: column.c,v 1.29 2000/11/01 08:31:33 guy Exp $
* $Id: column.c,v 1.30 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -32,6 +32,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>

View File

@ -1,7 +1,7 @@
/* column_prefs.c
* Dialog box for column preferences
*
* $Id: column_prefs.c,v 1.4 2000/10/20 04:26:40 gram Exp $
* $Id: column_prefs.c,v 1.5 2000/11/17 21:00:39 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -29,6 +29,7 @@
#include <errno.h>
#include <gtk/gtk.h>
#include <string.h>
#include "globals.h"
#include "column_prefs.h"

View File

@ -1,7 +1,7 @@
/* packet-arp.c
* Routines for ARP packet disassembly
*
* $Id: packet-arp.c,v 1.34 2000/11/13 07:18:38 guy Exp $
* $Id: packet-arp.c,v 1.35 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -31,6 +31,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "strutil.h"

View File

@ -2,7 +2,7 @@
* Routines for BOOTP/DHCP packet disassembly
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-bootp.c,v 1.40 2000/08/13 14:08:03 deniel Exp $
* $Id: packet-bootp.c,v 1.41 2000/11/17 21:00:35 gram Exp $
*
* The information used comes from:
* RFC 951: Bootstrap Protocol
@ -41,6 +41,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "packet-arp.h"

View File

@ -1,7 +1,7 @@
/* packet-diameter.c
* Routines for DIAMETER packet disassembly
*
* $Id: packet-diameter.c,v 1.6 2000/10/21 03:24:37 guy Exp $
* $Id: packet-diameter.c,v 1.7 2000/11/17 21:00:35 gram Exp $
*
* Copyright (c) 2000 by David Frascone <chaos@mindspring.com>
*
@ -37,6 +37,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <glib.h>

View File

@ -3,7 +3,7 @@
*
* Laurent Deniel <deniel@worldnet.fr>
*
* $Id: packet-fddi.c,v 1.40 2000/11/16 07:35:37 guy Exp $
* $Id: packet-fddi.c,v 1.41 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -34,6 +34,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <glib.h>
#include "bitswap.h"
#include "packet.h"

View File

@ -4,7 +4,7 @@
*
* Heikki Vatiainen <hessu@cs.tut.fi>
*
* $Id: packet-hsrp.c,v 1.8 2000/10/21 09:46:21 guy Exp $
* $Id: packet-hsrp.c,v 1.9 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -39,6 +39,7 @@
#include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"

View File

@ -2,7 +2,7 @@
* Routines for ICP (internet cache protocol) packet disassembly
* RFC 2186 && RFC 2187
*
* $Id: packet-icp.c,v 1.11 2000/08/13 14:08:14 deniel Exp $
* $Id: packet-icp.c,v 1.12 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Peter Torvals
@ -38,6 +38,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "resolv.h"

View File

@ -1,7 +1,7 @@
/* packet-ipsec.c
* Routines for IPsec/IPComp packet disassembly
*
* $Id: packet-ipsec.c,v 1.20 2000/08/13 14:08:17 deniel Exp $
* $Id: packet-ipsec.c,v 1.21 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -37,6 +37,7 @@
# include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "packet-ipsec.h"

View File

@ -2,7 +2,7 @@
* Routines for NetWare's IPX
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-ipx.c,v 1.68 2000/11/17 06:02:20 guy Exp $
* $Id: packet-ipx.c,v 1.69 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -33,6 +33,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <glib.h>
#include "etypes.h"
#include "ppptypes.h"

View File

@ -2,7 +2,7 @@
* Routines for NetBIOS over IPX packet disassembly
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-nbipx.c,v 1.27 2000/11/16 07:35:38 guy Exp $
* $Id: packet-nbipx.c,v 1.28 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -32,6 +32,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "packet-ipx.h"

View File

@ -1,7 +1,7 @@
/* packet-null.c
* Routines for null packet disassembly
*
* $Id: packet-null.c,v 1.31 2000/11/17 06:02:21 guy Exp $
* $Id: packet-null.c,v 1.32 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -38,6 +38,7 @@
#include <sys/socket.h>
#endif
#include <string.h>
#include "packet.h"
#include "packet-null.h"
#include "packet-atalk.h"

View File

@ -2,7 +2,7 @@
* Routines for PIM disassembly
* (c) Copyright Jun-ichiro itojun Hagino <itojun@itojun.org>
*
* $Id: packet-pim.c,v 1.17 2000/08/13 14:08:37 deniel Exp $
* $Id: packet-pim.c,v 1.18 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -36,6 +36,7 @@
#include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H

View File

@ -1,7 +1,7 @@
/* packet-radius.c
* Routines for RADIUS packet disassembly
*
* $Id: packet-radius.c,v 1.17 2000/08/13 14:08:35 deniel Exp $
* $Id: packet-radius.c,v 1.18 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Johan Feyaerts
@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <glib.h>
#include "packet.h"

View File

@ -1,7 +1,7 @@
/* packet-raw.c
* Routines for raw packet disassembly
*
* $Id: packet-raw.c,v 1.18 2000/08/13 08:53:51 guy Exp $
* $Id: packet-raw.c,v 1.19 2000/11/17 21:00:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -32,6 +32,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "packet-raw.h"

View File

@ -2,7 +2,7 @@
* Routines for RIPv1 and RIPv2 packet disassembly
* (c) Copyright Hannes R. Boehm <hannes@boehm.org>
*
* $Id: packet-rip.c,v 1.18 2000/08/13 14:08:42 deniel Exp $
* $Id: packet-rip.c,v 1.19 2000/11/17 21:00:36 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -34,6 +34,7 @@
#include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "packet-rip.h"

View File

@ -3,7 +3,7 @@
* (c) Copyright Jun-ichiro itojun Hagino <itojun@itojun.org>
* derived from packet-rip.c
*
* $Id: packet-ripng.c,v 1.14 2000/08/13 14:08:43 deniel Exp $
* $Id: packet-ripng.c,v 1.15 2000/11/17 21:00:36 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -35,6 +35,7 @@
#include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"
#include "packet-ipv6.h"

View File

@ -2,7 +2,7 @@
* Routines for Token-Ring packet disassembly
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-tr.c,v 1.49 2000/11/16 07:35:38 guy Exp $
* $Id: packet-tr.c,v 1.50 2000/11/17 21:00:36 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -32,6 +32,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <stdio.h>
#include <glib.h>
#include "packet.h"

View File

@ -2,7 +2,7 @@
* Routines for Token-Ring Media Access Control
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-trmac.c,v 1.24 2000/08/13 14:09:07 deniel Exp $
* $Id: packet-trmac.c,v 1.25 2000/11/17 21:00:36 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -32,6 +32,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"

View File

@ -1,7 +1,7 @@
/* packet-vines.c
* Routines for Banyan VINES protocol packet disassembly
*
* $Id: packet-vines.c,v 1.18 2000/08/25 18:46:10 deniel Exp $
* $Id: packet-vines.c,v 1.19 2000/11/17 21:00:36 gram Exp $
*
* Don Lafontaine <lafont02@cn.ca>
*
@ -38,6 +38,7 @@
#include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include "etypes.h"
#include "ppptypes.h"

View File

@ -2,7 +2,7 @@
* Routines for Web Cache Coordination Protocol dissection
* Jerry Talkington <jerryt@netapp.com>
*
* $Id: packet-wccp.c,v 1.10 2000/08/13 14:09:09 deniel Exp $
* $Id: packet-wccp.c,v 1.11 2000/11/17 21:00:36 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -36,6 +36,7 @@
#include <netinet/in.h>
#endif
#include <string.h>
#include <glib.h>
#include "packet.h"

View File

@ -2,7 +2,7 @@
* Routines for who protocol (see man rwhod)
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-who.c,v 1.9 2000/08/13 14:09:09 deniel Exp $
* $Id: packet-who.c,v 1.10 2000/11/17 21:00:36 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -32,6 +32,7 @@
# include <sys/types.h>
#endif
#include <string.h>
#include <time.h>
#include <glib.h>
#include "packet.h"

View File

@ -1,6 +1,6 @@
/* i4btrace.c
*
* $Id: i4btrace.c,v 1.11 2000/11/11 06:36:09 guy Exp $
* $Id: i4btrace.c,v 1.12 2000/11/17 21:00:40 gram Exp $
*
* Wiretap Library
* Copyright (c) 1999 by Bert Driehuis <driehuis@playbeing.org>
@ -26,6 +26,7 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* nettl.c
*
* $Id: nettl.c,v 1.17 2000/11/13 23:02:24 oabad Exp $
* $Id: nettl.c,v 1.18 2000/11/17 21:00:40 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -26,6 +26,7 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* pppdump.c
*
* $Id: pppdump.c,v 1.3 2000/09/21 04:41:35 gram Exp $
* $Id: pppdump.c,v 1.4 2000/11/17 21:00:40 gram Exp $
*
* Copyright (c) 2000 by Gilbert Ramirez <gram@xiexie.org>
*
@ -30,6 +30,7 @@
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
pppdump records

View File

@ -1,6 +1,6 @@
/* radcom.c
*
* $Id: radcom.c,v 1.27 2000/11/13 23:00:55 oabad Exp $
* $Id: radcom.c,v 1.28 2000/11/17 21:00:40 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -26,6 +26,7 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* snoop.c
*
* $Id: snoop.c,v 1.32 2000/09/21 04:41:36 gram Exp $
* $Id: snoop.c,v 1.33 2000/11/17 21:00:40 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -24,6 +24,7 @@
#include "config.h"
#endif
#include <errno.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"