diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-07-16 22:50:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-07-16 22:50:48 +0000 |
commit | ff49944dcd069fca04abbcc72bb99adc3a53d695 (patch) | |
tree | c207db1ebafd7fe83c4247e5f97c6de63ecc8e69 | |
parent | f65887d2209b3777154ae8fcba1fa74f096d1fd7 (diff) |
From Joerg Mayer: add #includes of "snprintf.h" in modules that used
"snprintf()" but weren't including "snprintf.h".
svn path=/trunk/; revision=5887
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | epan/plugins.c | 6 | ||||
-rw-r--r-- | packet-dcerpc-samr.c | 6 | ||||
-rw-r--r-- | packet-dns.c | 6 |
4 files changed, 16 insertions, 3 deletions
@@ -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 } diff --git a/epan/plugins.c b/epan/plugins.c index d5addb1d52..0231b2b0ab 100644 --- a/epan/plugins.c +++ b/epan/plugins.c @@ -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 diff --git a/packet-dcerpc-samr.c b/packet-dcerpc-samr.c index d8d082e491..37d4dd6bdf 100644 --- a/packet-dcerpc-samr.c +++ b/packet-dcerpc-samr.c @@ -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> diff --git a/packet-dns.c b/packet-dns.c index 87535fd3e4..e763fc2634 100644 --- a/packet-dns.c +++ b/packet-dns.c @@ -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> |