X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fsprintf.c;h=70a42830e22b3bc8c8576891e5450335ecb71c06;hb=9feedd59d824b75950b8d15be6a2a34534c2a6d9;hp=887c6fcfa610f86c4f749fc51c63b131503fc83a;hpb=a7a8d2f1c85c2d7760d4d3479e90466cc3a81b04;p=pdclib diff --git a/functions/stdio/sprintf.c b/functions/stdio/sprintf.c index 887c6fc..70a4283 100644 --- a/functions/stdio/sprintf.c +++ b/functions/stdio/sprintf.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* sprintf( char *, const char *, ... ) This file is part of the Public Domain C Library (PDCLib). @@ -27,10 +25,11 @@ int sprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, .. #ifdef TEST #define _PDCLIB_FILEID "stdio/sprintf.c" #define _PDCLIB_STRINGIO +#include #include <_PDCLIB_test.h> -#define testprintf( s, format, ... ) sprintf( s, format, __VA_ARGS__ ) +#define testprintf( s, ... ) sprintf( s, __VA_ARGS__ ) int main( void ) {