X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fputchar.c;h=ca184f750bec3552f72d21f3966a93032ef8029d;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=4e2d6ae7c0717b34ab5a301cb7c8e40a8c288977;hpb=9a862b964b7c7226f4d2fc52de13e0db0a9c66d4;p=pdclib diff --git a/functions/stdio/putchar.c b/functions/stdio/putchar.c index 4e2d6ae..ca184f7 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 ) {