projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Further streamlined testing.
[fw/pdclib]
/
functions
/
stdio
/
vsnprintf.c
diff --git
a/functions/stdio/vsnprintf.c
b/functions/stdio/vsnprintf.c
index 0cccf7a0842d5814953d10c5b53d825104029a2b..fd9b4ac3fc34e5cb57477395371164b6536e3eaf 100644
(file)
--- a/
functions/stdio/vsnprintf.c
+++ b/
functions/stdio/vsnprintf.c
@@
-54,7
+54,6
@@
int vsnprintf( char * _PDCLIB_restrict s, size_t n, const char * _PDCLIB_restric
#include <stdint.h>
#include <string.h>
-
static int testprintf( char * s, size_t n, const char * format, ... )
{
int i;
@@
-65,6
+64,8
@@
static int testprintf( char * s, size_t n, const char * format, ... )
return i;
}
+#define TESTCASE_SPRINTF( x ) TESTCASE( x )
+
int main( void )
{
char buffer[100];