aboutsummaryrefslogtreecommitdiffstats
path: root/snprintf.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-08-11 22:03:03 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-08-11 22:03:03 +0000
commite5685970f3ca66730f1d94168637a5ac800abc90 (patch)
treec9e7a41672c1bf2e2303fbaa24974a97d9c09375 /snprintf.c
parentcb76a8a88a5ea52a3988598baa61ed2641a3aea7 (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"). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2257 f5534014-38df-0310-8fa8-9805f1628bb7
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"