diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-08-11 22:03:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-08-11 22:03:03 +0000 |
commit | e18d6c34c9c6e3bb341ded481ebad4730d1d527d (patch) | |
tree | c9e7a41672c1bf2e2303fbaa24974a97d9c09375 | |
parent | a14e4940ebb9af3c41e92a2c007b6b239872627c (diff) | |
download | wireshark-e18d6c34c9c6e3bb341ded481ebad4730d1d527d.tar.gz wireshark-e18d6c34c9c6e3bb341ded481ebad4730d1d527d.tar.bz2 wireshark-e18d6c34c9c6e3bb341ded481ebad4730d1d527d.zip |
Give them RCS IDs.
Fix a typo in the LGPL in the initial comment.
Move the includes of <stdlib.h> and <ctype.h> out of "snprintf-imp.h"
into "snprintf.c", and put them *before* the include of "snprintf.h", so
that "size_t" is defined before "snprintf.h" is included ("snprintf.h"
uses "size_t").
svn path=/trunk/; revision=2257
-rw-r--r-- | snprintf-imp.h | 9 | ||||
-rw-r--r-- | snprintf.c | 8 |
2 files changed, 12 insertions, 5 deletions
diff --git a/snprintf-imp.h b/snprintf-imp.h index 25bdf85708..3a374bf539 100644 --- a/snprintf-imp.h +++ b/snprintf-imp.h @@ -1,4 +1,8 @@ /* + * $Id: snprintf-imp.h,v 1.3 2000/08/11 22:03:03 guy Exp $ + */ + +/* Unix snprintf implementation. Version 1.2 @@ -7,7 +11,7 @@ the Free Software Foundation; either version 2 of the License, or (at your option) any later version. It can be redistribute also under the terms of GNU Library General - Public Lincense. + Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -69,9 +73,6 @@ Return values: Alain Magloire: alainm@rcsm.ee.mcgill.ca */ -#include <stdlib.h> /* for atoi() */ -#include <ctype.h> - /* * For the FLOATING POINT FORMAT : diff --git a/snprintf.c b/snprintf.c index 81d0ba1711..5e740a79d4 100644 --- a/snprintf.c +++ b/snprintf.c @@ -1,3 +1,6 @@ +/* + * $Id: snprintf.c,v 1.11 2000/08/11 22:03:02 guy Exp $ + */ /* Unix snprintf implementation. @@ -8,7 +11,7 @@ the Free Software Foundation; either version 2 of the License, or (at your option) any later version. It can be redistribute also under the terms of GNU Library General - Public Lincense. + Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -44,6 +47,9 @@ # include "config.h" #endif +#include <stdlib.h> /* for atoi and for size_t */ +#include <ctype.h> + #include "snprintf.h" #include "snprintf-imp.h" |