X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fputchar.c;h=a79932f9e4f402ff444150c2054a59dcc2e5c378;hb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c;hp=e5a3500fa5c756d12a713f93f18a8cdd0ccb8d1c;hpb=d9dcf16664c81809258992e1653ecb68c8079974;p=pdclib.old diff --git a/functions/stdio/putchar.c b/functions/stdio/putchar.c index e5a3500..a79932f 100644 --- a/functions/stdio/putchar.c +++ b/functions/stdio/putchar.c @@ -9,6 +9,12 @@ #include #ifndef REGTEST +#include <_PDCLIB_io.h> + +int _PDCLIB_putchar_unlocked( int c ) +{ + return _PDCLIB_fputc_unlocked( c, stdout ); +} int putchar( int c ) { @@ -22,7 +28,7 @@ int putchar( int c ) int main( void ) { - TESTCASE( NO_TESTDRIVER ); + /* Testing covered by ftell.c */ return TEST_RESULTS; }