mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
sync: Port to LibMain
This commit is contained in:
parent
742cca4bfe
commit
6deb032335
Notes:
sideshowbarker
2024-07-17 19:54:19 +09:00
Author: https://github.com/alexmajor
Commit: 6deb032335
Pull-request: https://github.com/SerenityOS/serenity/pull/12034
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/bgianfo
Reviewed-by: https://github.com/kennethmyhra
Reviewed-by: https://github.com/mjz19910
2 changed files with 5 additions and 2 deletions
|
@ -164,8 +164,9 @@ target_link_libraries(sql LibLine LibSQL LibIPC)
|
|||
target_link_libraries(sort LibMain)
|
||||
target_link_libraries(stat LibMain)
|
||||
target_link_libraries(strace LibMain)
|
||||
target_link_libraries(tac LibMain)
|
||||
target_link_libraries(su LibCrypt LibMain)
|
||||
target_link_libraries(sync LibMain)
|
||||
target_link_libraries(tac LibMain)
|
||||
target_link_libraries(tail LibMain)
|
||||
target_link_libraries(tar LibArchive LibCompress)
|
||||
target_link_libraries(telws LibProtocol LibLine)
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2022, Alex Major
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibMain/Main.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int, char**)
|
||||
ErrorOr<int> serenity_main(Main::Arguments)
|
||||
{
|
||||
sync();
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue