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
This commit is contained in:
Guy Harris 2000-08-11 22:03:03 +00:00
parent a14e4940eb
commit e18d6c34c9
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,7 @@
/*
* $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 :

View File

@ -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"