branch update for HEAD-2003021201
[reactos.git] / lib / msvcrt / stdlib / obsol.c
1 #include <windows.h>
2 #include <msvcrt/stdlib.h>
3
4 #undef _cpumode
5 unsigned char _cpumode = 0;
6 unsigned char *_cpumode_dll = &_cpumode;
7
8 WINBOOL STDCALL Beep(DWORD dwFreq, DWORD dwDuration);
9 VOID    STDCALL Sleep(DWORD dwMilliseconds);
10 UINT    STDCALL SetErrorMode(UINT uMode);
11
12 void _seterrormode(int nMode)
13 {
14         SetErrorMode(nMode);
15         return;
16 }
17
18 void _beep(unsigned nFreq, unsigned nDur)
19 {
20         Beep(nFreq,nDur);
21         return;
22 }
23
24 void _sleep(unsigned long ulTime)
25 {
26         Sleep(ulTime);
27         return;
28 }