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
/
vsprintf.c
diff --git
a/functions/stdio/vsprintf.c
b/functions/stdio/vsprintf.c
index 80180f57f08edf126e530c1a7227a95aaa1a485d..733dcd452807f882d56b14af88dd7669a26ac1df 100644
(file)
--- a/
functions/stdio/vsprintf.c
+++ b/
functions/stdio/vsprintf.c
@@
-26,7
+26,6
@@
int vsprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, v
#include <stdint.h>
#include <string.h>
-
static int testprintf( char * s, size_t n, const char * format, ... )
{
int i;
@@
-37,6
+36,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];