]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/snprintf.c
Handle very large -f files by rejecting them.
[tcpdump] / missing / snprintf.c
index 4a6bf11d4add1d67b098036163b760a8be1f7b01..921b74c1df3f61159d55042982facf81be2eefe7 100644 (file)
  * SUCH DAMAGE.
  */
 
-/* $Id: snprintf.c,v 1.7 2003-11-15 00:39:48 guy Exp $ */
-
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
-
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <sys/types.h>
 
-#include <interface.h>
+#include "netdissect.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.7 2003-11-15 00:39:48 guy Exp $";
-#endif
 enum format_flags {
     minus_flag     =  1,
     plus_flag      =  2,