X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fputchar.c;h=52063a57f713036c09a84a1e659ba2956f4a12fb;hb=5fe150c45e1bfecf7b14d17d08317436e5bc53b4;hp=7ef20147bf1701563794d3077a71f4d695cfbd88;hpb=d02f38605b53cdff5460cc6b9e1b2a80c3a2ba4c;p=pdclib diff --git a/functions/stdio/putchar.c b/functions/stdio/putchar.c index 7ef2014..52063a5 100644 --- a/functions/stdio/putchar.c +++ b/functions/stdio/putchar.c @@ -1,7 +1,5 @@ /* $Id$ */ -/* Release $Name$ */ - /* putchar( int ) This file is part of the Public Domain C Library (PDCLib). @@ -12,6 +10,11 @@ #ifndef REGTEST +int putchar_unlocked( int c ) +{ + return fputc_unlocked( c, stdout ); +} + int putchar( int c ) { return fputc( c, stdout ); @@ -24,7 +27,7 @@ int putchar( int c ) int main( void ) { - TESTCASE( NO_TESTDRIVER ); + /* Testing covered by ftell.c */ return TEST_RESULTS; }