From Joerg Mayer: add #includes of "snprintf.h" in modules that used

"snprintf()" but weren't including "snprintf.h".

svn path=/trunk/; revision=5887
This commit is contained in:
Guy Harris 2002-07-16 22:50:48 +00:00
parent f65887d220
commit ff49944dcd
4 changed files with 16 additions and 3 deletions

View File

@ -90,6 +90,7 @@ Joerg Mayer <jmayer[AT]loplof.de> {
Add _U_ to unused arguments, and turn off "-Wno-unused"
.cvsignore fixes
Make a pile of stuff not used outside one source file static
Clean up #includes
Mark last packet of TFTP transfer as such in the Info column
Dissect both the BOOTP server and client ports as bootp/DHCP
}

View File

@ -1,7 +1,7 @@
/* plugins.c
* plugin routines
*
* $Id: plugins.c,v 1.55 2002/07/12 22:52:36 guy Exp $
* $Id: plugins.c,v 1.56 2002/07/16 22:50:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -26,6 +26,10 @@
# include "config.h"
#endif
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include "plugins.h"
#ifdef HAVE_PLUGINS

View File

@ -3,7 +3,7 @@
* Copyright 2001, Tim Potter <tpot@samba.org>
* 2002 Added all command dissectors Ronnie Sahlberg
*
* $Id: packet-dcerpc-samr.c,v 1.50 2002/07/06 17:44:47 sharpe Exp $
* $Id: packet-dcerpc-samr.c,v 1.51 2002/07/16 22:50:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -28,6 +28,10 @@
#include "config.h"
#endif
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <glib.h>
#include <epan/packet.h>
#include <string.h>

View File

@ -1,7 +1,7 @@
/* packet-dns.c
* Routines for DNS packet disassembly
*
* $Id: packet-dns.c,v 1.88 2002/06/15 20:38:34 guy Exp $
* $Id: packet-dns.c,v 1.89 2002/07/16 22:50:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -30,6 +30,10 @@
# include <sys/types.h>
#endif
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <stdio.h>
#include <string.h>
#include <memory.h>