X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=includes%2Fstdio.h;fp=includes%2Fstdio.h;h=1d7c0bf23ecddf47979700d7dbd660005e53301e;hp=a2428a50faab6847a2085e6e7ee0417177e5332b;hb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;hpb=263e1e1fae0dcae08d99dc06fd69391ad076f378 diff --git a/includes/stdio.h b/includes/stdio.h index a2428a5..1d7c0bf 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -8,11 +8,8 @@ #ifndef _PDCLIB_STDIO_H #define _PDCLIB_STDIO_H _PDCLIB_STDIO_H - -#ifndef _PDCLIB_INT_H -#define _PDCLIB_INT_H _PDCLIB_INT_H #include <_PDCLIB_int.h> -#endif +_PDCLIB_BEGIN_EXTERN_C #ifndef _PDCLIB_SIZE_T_DEFINED #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED @@ -65,7 +62,7 @@ int remove( const char * filename ); If there already is a file with the new filename, behaviour is defined by the glue code (see functions/_PDCLIB/rename.c). */ -int rename( const char * old, const char * new ); +int rename( const char * old, const char * newn ); /* Open a temporary file with mode "wb+", i.e. binary-update. Remove the file automatically if it is closed or the program exits normally (by returning @@ -796,4 +793,5 @@ int ferror( FILE * stream ); */ void perror( const char * s ); +_PDCLIB_END_EXTERN_C #endif