mirror of
https://github.com/fluencelabs/musl
synced 2025-06-24 04:01:56 +00:00
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.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
long __syscall_ret(long);
|
||||
long __syscall_ret(unsigned long);
|
||||
long __syscall(long, ...);
|
||||
long syscall(long, ...);
|
||||
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user