Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
diff --git a/files/dos_fs.c b/files/dos_fs.c
index f0ab2f4..5e8d88f 100644
--- a/files/dos_fs.c
+++ b/files/dos_fs.c
@@ -31,7 +31,6 @@
#include "file.h"
#include "heap.h"
#include "msdos.h"
-#include "syslevel.h"
#include "server.h"
#include "options.h"
#include "debugtools.h"
@@ -1501,7 +1500,7 @@
LPCSTR short_name, long_name;
int count;
- SYSLEVEL_EnterWin16Lock();
+ _EnterWin16Lock();
/* Check the cached directory */
if (!(info.dir && info.path == path && info.short_mask == short_mask
@@ -1538,7 +1537,7 @@
memset( &info, '\0', sizeof(info) );
}
- SYSLEVEL_LeaveWin16Lock();
+ _LeaveWin16Lock();
return count;
}