-/* $Id$ */
-
-/* vsprintf( char *, const char *, va_list ap )
+/* vsprintf( char *, const char *, va_list )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
-
-#include <limits.h>
+#define _PDCLIB_FILEID "stdio/vsprintf.c"
+#define _PDCLIB_STRINGIO
#include <stdint.h>
-#include <string.h>
-
+#include <stddef.h>
+#include "_PDCLIB_test.h"
-static int testprintf( char * s, size_t n, const char * format, ... )
+static int testprintf( char * s, const char * format, ... )
{
int i;
va_list arg;
int main( void )
{
- char buffer[100];
-#include "printf_testcases.incl"
+ char target[100];
+#include "printf_testcases.h"
return TEST_RESULTS;
}