From fd142e5ec44aaafffbb8bb4ea41c4288d3fa937a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 26 Sep 2011 00:59:28 -0400 Subject: cleanup various minor issues reported by nsz the changes to syscall_ret are mostly no-ops in the generated code, just cleanup of type issues and removal of some implementation-defined behavior. the one exception is the change in the comparison value, which is fixed so that 0xf...f000 (which in principle could be a valid return value for mmap, although probably never in reality) is not treated as an error return. --- include/sys/syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys/syscall.h') diff --git a/include/sys/syscall.h b/include/sys/syscall.h index c86135a3..901941aa 100644 --- a/include/sys/syscall.h +++ b/include/sys/syscall.h @@ -4,7 +4,7 @@ extern "C" { #endif -long __syscall_ret(long); +long __syscall_ret(unsigned long); long __syscall(long, ...); long syscall(long, ...); -- cgit v1.2.1