From 7199e74aa22e592a3b77bdd81f735edca5470596 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 20 Jan 2024 17:59:40 -0500 Subject: update --- stdlib/entry.cpp | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 stdlib/entry.cpp (limited to 'stdlib/entry.cpp') diff --git a/stdlib/entry.cpp b/stdlib/entry.cpp deleted file mode 100644 index 5557c8a..0000000 --- a/stdlib/entry.cpp +++ /dev/null @@ -1,14 +0,0 @@ -int main(int argc, char **argv); - -extern "C" [[noreturn]] void _entry() { - //TODO: get command line via system call and populate argc and argv. - int argc = 0; - char **argv = 0; - - int result = main(argc, argv); - - //TODO: exit via system call and return result. - (void)result; - while (1) - ; -} -- cgit v1.2.3