summaryrefslogtreecommitdiff
path: root/missing/snprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* remove tcpdump's own CVS keywordsDenis Ovsienko2014-01-031-7/+0
| | | | | | Remove lots of $Header's and a few $Id's that all belong to the former CVS repository of tcpdump itself. These keywords have been frozen since the migration to git in late 2008.
* Have the configure script arrange that the Makefile define _U_guy2003-11-161-5/+5
| | | | | | | | | | appropriately, and that GNUmakefile and the MSVC++ project file define it apppriately, as we do with libpcap, rather than defining it in "interface.h". Undo the rcsid-shuffling and addition of extra #includes, as we no longer need to arrange that "interface.h" be included before using _U_ in an RCS ID or copyright.
* From Neil Spring:guy2003-11-151-5/+5
| | | | | | | | | | | use "_U_" in the definitions of "rcsid[]", to eliminate complaints about those variables being unused; move the definitions after the include of "interface.h", or add an include of "interface.h", so that "_U_" is defined. Include "config.h" before including "tcpdump-stdinc.h" in "missing/datalinks.c".
* whitespaceitojun2002-06-111-12/+12
|
* "#if 0" out stuff for "asprintf()", "asnprintf()", "vasprintf()", andguy2001-01-121-2/+6
| | | | | | | "vasnprintf()", as we're not using any of them, and we're not declaring them in "interface.h" (keep them around for now in case we decide we need them; they may be useful if we ever want to "sprintf" a string and want the string to grow dynamically to hold what we're putting into it).
* As GCC "2.96" notes, "`short int' is promoted to `int' when passedguy2001-01-021-3/+3
| | | | | | | | | through `...'", and therefore "...you should pass `int' not `short int' to `va_arg'". GCC "2.96" apparently fails to compile code that passes "short int" to "va_arg()", and Red Hat Linux 7.0 uses GCC "2.96", so we fix this, as per Pekka Savola's note.
* Include <sys/types.h> to allow compilation on Solaris.fenner2000-01-101-2/+3
|
* Unify rcsid[]'s.fenner2000-01-091-1/+8
|
* add snprintf implementationassar2000-01-071-0/+620