mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-08-27 14:04:58 +00:00
refactor(userspace): build using cmake
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
along with Fennix Userspace. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <fennix/syscalls.h>
|
||||
|
||||
#include <bits/libc.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int __init_pthread(void);
|
||||
@@ -34,7 +33,7 @@ __attribute__((visibility("default"))) void _exit(int Code)
|
||||
{
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
call_exit(Code);
|
||||
sysdep(Exit)(Code);
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user