diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-12 10:03:53 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-12 10:03:53 -0400 |
| commit | a97a1ed57051fc0c4e2f2f803a4d6a734689cbdc (patch) | |
| tree | 55ebd06aae0741b3e4bfe975f7d91dc63b0c6a24 /src/stdlib | |
| parent | 4f50d3e580761fd3c44fe8ed0db57858c5295f25 (diff) | |
remove __syscall_lookup()
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/_Exit.c | 2 | ||||
| -rw-r--r-- | src/stdlib/exit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/_Exit.c b/src/stdlib/_Exit.c index 9b1defdf..b4f6f1a8 100644 --- a/src/stdlib/_Exit.c +++ b/src/stdlib/_Exit.c @@ -4,7 +4,7 @@ /** cause normal program termination without handlers **/ _Noreturn void _Exit(int status) { - long scno = __lookup("exit"); + SYCALL_NUMBER(scno, "exit"); for (;;) { __syscall(scno, status); } diff --git a/src/stdlib/exit.c b/src/stdlib/exit.c index 0cba3147..5fc1f2fc 100644 --- a/src/stdlib/exit.c +++ b/src/stdlib/exit.c @@ -7,7 +7,7 @@ /** cause normal program termination **/ _Noreturn void exit(int status) { - long scno = __lookup("exit"); + long scno = __syscall_lookup(exit); struct atexit *ae = &(__stdlib.atexit); /* execute all atexit() registered functions in reverse order */ |
