summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-26 00:59:28 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-26 00:59:28 -0400
commitfd142e5ec44aaafffbb8bb4ea41c4288d3fa937a (patch)
tree23fac00d2f8a9d7851d336d9bbb7d3417edc6980 /include
parent729d6368bdf9faa33299cdfa68efc7422af33bd7 (diff)
downloadmusl-fd142e5ec44aaafffbb8bb4ea41c4288d3fa937a.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/sys/syscall.h2
-rw-r--r--include/time.h1
2 files changed, 1 insertions, 2 deletions
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, ...);
diff --git a/include/time.h b/include/time.h
index 5b1ea91f..557c8f4b 100644
--- a/include/time.h
+++ b/include/time.h
@@ -85,7 +85,6 @@ int clock_settime (clockid_t, const struct timespec *);
int clock_nanosleep (clockid_t, int, const struct timespec *, struct timespec *);
int clock_getcpuclockid (pid_t, clockid_t *);
-/* FIXME..?? */
struct sigevent;
int timer_create (clockid_t, struct sigevent *, timer_t *);
int timer_delete (timer_t);