X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fputchar.c;h=4e69047ffd0f71919f30deff0593ad28a5e350a7;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hp=e5a3500fa5c756d12a713f93f18a8cdd0ccb8d1c;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib diff --git a/functions/stdio/putchar.c b/functions/stdio/putchar.c index e5a3500..4e69047 100644 --- a/functions/stdio/putchar.c +++ b/functions/stdio/putchar.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* putchar( int ) This file is part of the Public Domain C Library (PDCLib). @@ -9,6 +7,12 @@ #include #ifndef REGTEST +#include "_PDCLIB_io.h" + +int _PDCLIB_putchar_unlocked( int c ) +{ + return _PDCLIB_fputc_unlocked( c, stdout ); +} int putchar( int c ) { @@ -18,11 +22,11 @@ int putchar( int c ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) { - TESTCASE( NO_TESTDRIVER ); + /* Testing covered by ftell.c */ return TEST_RESULTS; }