aboutsummaryrefslogtreecommitdiffstats
path: root/snprintf-imp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-08-11 22:03:03 +0000
committerGuy Harris <guy@alum.mit.edu>2000-08-11 22:03:03 +0000
commite18d6c34c9c6e3bb341ded481ebad4730d1d527d (patch)
treec9e7a41672c1bf2e2303fbaa24974a97d9c09375 /snprintf-imp.h
parenta14e4940ebb9af3c41e92a2c007b6b239872627c (diff)
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
Diffstat (limited to 'snprintf-imp.h')
-rw-r--r--snprintf-imp.h9
1 files changed, 5 insertions, 4 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 :