sync: Port to LibMain

This commit is contained in:
alexmajor authored and Brian Gianforcaro committed 2022-02-01 04:58:24 +00:00
1 parent 742cca4bfe
commit 6deb032335
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -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)
+3 -1
View File
@@ -1,12 +1,14 @@
/*
* Copyright (c) 2018-2020, Andreas Kling <[email protected]>
* 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;