summaryrefslogtreecommitdiff
path: root/include/syscall.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-13 07:49:07 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-15 18:00:40 -0400
commit6d6bd8ba78434ecb09395582b5f3e41febd4d4ee (patch)
tree7bc6019efe5b8a6af606c6afb92f08f6839ff6dd /include/syscall.h
parent308f5c6e5fd56ea3d1a5512e34388aad788f1180 (diff)
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>
Diffstat (limited to 'include/syscall.h')
0 files changed, 0 insertions, 0 deletions