From 2f24859b59937d5319aa546bbe8a2de77746855e Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 22 May 2003 03:41:27 +0000 Subject: [PATCH] Beep() is still needed in ntdll, move it back to some random file. --- dlls/kernel/kernel_main.c | 11 ----------- win32/newfns.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dlls/kernel/kernel_main.c b/dlls/kernel/kernel_main.c index e283d445933..aa7296b6375 100644 --- a/dlls/kernel/kernel_main.c +++ b/dlls/kernel/kernel_main.c @@ -226,14 +226,3 @@ BOOL WINAPI SwitchToThread(void) Sleep(0); return 1; } - -/*********************************************************************** - * Beep (KERNEL32.@) - */ -BOOL WINAPI Beep( DWORD dwFreq, DWORD dwDur ) -{ - static const char beep = '\a'; - /* dwFreq and dwDur are ignored by Win95 */ - if (isatty(2)) write( 2, &beep, 1 ); - return TRUE; -} diff --git a/win32/newfns.c b/win32/newfns.c index e8854186749..f3bc247181b 100644 --- a/win32/newfns.c +++ b/win32/newfns.c @@ -320,3 +320,14 @@ BOOL WINAPI GetDevicePowerState(HANDLE hDevice, BOOL* pfOn) FIXME("(hDevice %p pfOn %p): stub\n", hDevice, pfOn); return TRUE; /* no information */ } + +/*********************************************************************** + * Beep (KERNEL32.@) + */ +BOOL WINAPI Beep( DWORD dwFreq, DWORD dwDur ) +{ + static const char beep = '\a'; + /* dwFreq and dwDur are ignored by Win95 */ + if (isatty(2)) write( 2, &beep, 1 ); + return TRUE; +} -- 2.11.4.GIT