* include/stdio.h:(_fileno): Define macro version after both

fileno and _fileno functions declared.

	* include/stdio.h (_rmtmp, rmtmp): Add prototypes.
	* moldnames.def.in (rmtmp) Add stub.
This commit is contained in:
Danny Smith 2003-12-13 21:22:34 +00:00
parent 9279515ae1
commit f082663050
3 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2003-12-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h:(_fileno): Define macro version after both
fileno and _fileno functions declared.
* include/stdio.h (_rmtmp, rmtmp): Add prototypes.
* moldnames.def.in (rmtmp) Add stub.
2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net> 2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
* include/signal.h (SIG_SGE, SIG_ACK): Add defines. * include/signal.h (SIG_SGE, SIG_ACK): Add defines.

View File

@ -197,11 +197,16 @@ _CRTIMP int __cdecl remove (const char*);
_CRTIMP int __cdecl rename (const char*, const char*); _CRTIMP int __cdecl rename (const char*, const char*);
_CRTIMP FILE* __cdecl tmpfile (void); _CRTIMP FILE* __cdecl tmpfile (void);
_CRTIMP char* __cdecl tmpnam (char*); _CRTIMP char* __cdecl tmpnam (char*);
#ifndef __STRICT_ANSI__
_CRTIMP char* __cdecl _tempnam (const char*, const char*); _CRTIMP char* __cdecl _tempnam (const char*, const char*);
_CRTIMP int __cdecl _rmtmp(void);
#ifndef NO_OLDNAMES #ifndef NO_OLDNAMES
_CRTIMP char* __cdecl tempnam (const char*, const char*); _CRTIMP char* __cdecl tempnam (const char*, const char*);
_CRTIMP int __cdecl rmtmp(void);
#endif #endif
#endif /* __STRICT_ANSI__ */
_CRTIMP int __cdecl setvbuf (FILE*, char*, int, size_t); _CRTIMP int __cdecl setvbuf (FILE*, char*, int, size_t);
@ -379,18 +384,18 @@ _CRTIMP int __cdecl _getmaxstdio(void);
_CRTIMP int __cdecl _setmaxstdio(int); _CRTIMP int __cdecl _setmaxstdio(int);
#endif #endif
#define _fileno(__F) ((__F)->_file)
#ifndef _NO_OLDNAMES #ifndef _NO_OLDNAMES
_CRTIMP int __cdecl fgetchar (void); _CRTIMP int __cdecl fgetchar (void);
_CRTIMP int __cdecl fputchar (int); _CRTIMP int __cdecl fputchar (int);
_CRTIMP FILE* __cdecl fdopen (int, const char*); _CRTIMP FILE* __cdecl fdopen (int, const char*);
_CRTIMP int __cdecl fileno (FILE*); _CRTIMP int __cdecl fileno (FILE*);
#define fileno(__F) ((__F)->_file)
#endif /* Not _NO_OLDNAMES */ #endif /* Not _NO_OLDNAMES */
#define _fileno(__F) ((__F)->_file)
#ifndef _NO_OLDNAMES
#define fileno(__F) ((__F)->_file)
#endif
#endif /* Not __STRICT_ANSI__ */ #endif /* Not __STRICT_ANSI__ */
/* Wide versions */ /* Wide versions */

View File

@ -85,6 +85,7 @@ putenv
putw putw
read read
rmdir rmdir
rmtmp
searchenv searchenv
seterrormode seterrormode
setmode setmode