from Yitzhak
Add absent prototypes to some core routines. Also add some port function() to function(void) in some win32 routines. Also updates the Borland C Makefile for win32.
This commit is contained in:
@@ -100,6 +100,8 @@ int _RTLENTRY _EXPFUNC write (int __handle, const void _FAR *__buf, unsigned __
|
||||
int _RTLENTRY _EXPFUNC creat (const char _FAR *__path, int __amode);
|
||||
int _RTLENTRY _EXPFUNC close (int __handle);
|
||||
int _RTLENTRY _EXPFUNC open (const char _FAR *__path, int __access,... /*unsigned mode*/);
|
||||
long _RTLENTRY _EXPFUNC lseek (int __handle, long __offset, int __fromwhere);
|
||||
int _RTLENTRY _EXPFUNC read (int __handle, void _FAR *__buf, unsigned __len);
|
||||
#endif
|
||||
#include <conio.h>
|
||||
#undef kbhit /* Use our special NT kbhit */
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
# define FDECL(f,p) f()
|
||||
# define VDECL(f,p) f()
|
||||
|
||||
# if defined(AMIGA) || defined(HPUX) || defined(POSIX_TYPES) || defined(__DECC)
|
||||
# if defined(AMIGA) || defined(HPUX) || defined(POSIX_TYPES) || defined(__DECC) || defined(__BORLANDC__)
|
||||
# define genericptr void *
|
||||
# endif
|
||||
# ifndef genericptr
|
||||
|
||||
Reference in New Issue
Block a user