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:
nethack.allison
2002-02-05 13:21:43 +00:00
parent b407cf3dcf
commit 7d1e6f7d57
30 changed files with 96 additions and 73 deletions

View File

@@ -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 */

View File

@@ -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