aboutsummaryrefslogtreecommitdiffstats
path: root/snprintf.c
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.c
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.c')
-rw-r--r--snprintf.c8
1 files changed, 7 insertions, 1 deletions
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"