diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-13 07:49:07 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-18 11:45:00 -0700 |
commit | 0d5b9c86de553d3e620d0594268f3978f31220b6 (patch) | |
tree | e6a3e50b896a1cad1a3773f3536cf476ac2e73b1 /libc/stdlib/atexit.c | |
parent | c72a5ae6e97aeffdb07cacde7d3c972ad8c60bd5 (diff) | |
download | uClibc-alpine-0d5b9c86de553d3e620d0594268f3978f31220b6.tar.bz2 uClibc-alpine-0d5b9c86de553d3e620d0594268f3978f31220b6.tar.xz |
daemon: fix up INTERNAL_SYSCALL() usage
Make sure we declare the error properly in case a port uses it, and fix the
invocation of exit(). Since clone() will be returning a pid, assume that
the value will not have the MSB set (negative) to simplify the error test a
bit more. If gcc supports it, force this function to always be heavily
optimized in a bid to avoid stack usage as much as possible.
Signed-off-by: James Coleman <james.coleman@ubicom.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/stdlib/atexit.c')
0 files changed, 0 insertions, 0 deletions