mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
beep: Port to LibMain :^)
This commit is contained in:
parent
7801e38af1
commit
abaee3a325
Notes:
sideshowbarker
2024-07-17 21:21:08 +09:00
Author: https://github.com/juniorrantila Commit: https://github.com/SerenityOS/serenity/commit/abaee3a3250 Pull-request: https://github.com/SerenityOS/serenity/pull/11752 Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 6 additions and 4 deletions
|
@ -58,6 +58,7 @@ target_link_libraries(arp LibMain)
|
|||
target_link_libraries(asctl LibAudio LibMain)
|
||||
target_link_libraries(base64 LibMain)
|
||||
target_link_libraries(basename LibMain)
|
||||
target_link_libraries(beep LibMain)
|
||||
target_link_libraries(blockdev LibMain)
|
||||
target_link_libraries(bt LibSymbolication LibMain)
|
||||
target_link_libraries(cal LibMain)
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
/*
|
||||
* Copyright (c) 2020, the SerenityOS developers.
|
||||
* Copyright (c) 2020-2022, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <LibCore/System.h>
|
||||
#include <LibMain/Main.h>
|
||||
|
||||
int main()
|
||||
ErrorOr<int> serenity_main(Main::Arguments)
|
||||
{
|
||||
sysbeep();
|
||||
TRY(Core::System::beep());
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue