X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffputc.c;h=872b741916cfc26460e8372a8ff710b530dd7fe5;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=beff43a5aa4b34a3ab77532b3b11c8106b1d0f14;hpb=42cab9e71b49fcda5f225ea0debddce0d1123674;p=pdclib diff --git a/functions/stdio/fputc.c b/functions/stdio/fputc.c index beff43a..872b741 100644 --- a/functions/stdio/fputc.c +++ b/functions/stdio/fputc.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* fputc( int, FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -8,10 +6,10 @@ #include -#include <_PDCLIB_glue.h> - #ifndef REGTEST +#include "_PDCLIB_glue.h" + /* Write the value c (cast to unsigned char) to the given stream. Returns c if successful, EOF otherwise. If a write error occurs, the error indicator of the stream is set. @@ -37,7 +35,8 @@ int fputc( int c, struct _PDCLIB_file_t * stream ) #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" int main( void ) {