diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-15 20:05:52 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-15 20:05:52 +0000 |
commit | 9d2c271f9b8da968db8622ef3e77eeec09a4e39f (patch) | |
tree | 88262bfb2dc94ee64424d439823949de4d6ee31b /libc/sysdeps/linux | |
parent | f7c7c0e055425e0122996a91704cc12bfaeef308 (diff) |
Hide exit/_exit
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/_exit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/_exit.c b/libc/sysdeps/linux/common/_exit.c index d0a4ee1d6..a36f5a128 100644 --- a/libc/sysdeps/linux/common/_exit.c +++ b/libc/sysdeps/linux/common/_exit.c @@ -32,10 +32,12 @@ static inline _syscall1(void, __syscall_exit, int, status); #endif -void attribute_noreturn _exit(int status) +#undef _exit +#undef _exit_internal +void attribute_noreturn _exit_internal(int status) { /* The loop is added only to keep gcc happy. */ while(1) INLINE_SYSCALL(exit, 1, status); } - +strong_alias(_exit_internal,_exit) |