X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fungetc.c;h=dc5260b63a1a769bd37650e4be1fbad0c67f24e6;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=f85ca9ce96344f423a096807ce6a42cbafc22acc;hpb=393020b6e48719d27699dea6b29e53025bbd5123;p=pdclib diff --git a/functions/stdio/ungetc.c b/functions/stdio/ungetc.c index f85ca9c..dc5260b 100644 --- a/functions/stdio/ungetc.c +++ b/functions/stdio/ungetc.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* ungetc( int, FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -10,7 +8,7 @@ #ifndef REGTEST -int ungetc( int c, struct _PDCLIB_file_t * _PDCLIB_restrict stream ) +int ungetc( int c, struct _PDCLIB_file_t * stream ) { if ( c == EOF || stream->ungetidx == _PDCLIB_UNGETCBUFSIZE ) { @@ -22,7 +20,8 @@ int ungetc( int c, struct _PDCLIB_file_t * _PDCLIB_restrict stream ) #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" int main( void ) {