update for HEAD-2003091401
[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 /*
13  * @implemented
14  */
15 void _seterrormode(int nMode)
16 {
17         SetErrorMode(nMode);
18         return;
19 }
20
21 /*
22  * @implemented
23  */
24 void _beep(unsigned nFreq, unsigned nDur)
25 {
26         Beep(nFreq,nDur);
27         return;
28 }
29
30 /*
31  * @implemented
32  */
33 void _sleep(unsigned long ulTime)
34 {
35         Sleep(ulTime);
36         return;
37 }