Revision 3f47aa8c darwin-user/syscall.c
b/darwin-user/syscall.c | ||
---|---|---|
417 | 417 |
uint32_t arg4, uint32_t arg5, uint32_t arg6, uint32_t arg7, |
418 | 418 |
uint32_t arg8) |
419 | 419 |
{ |
420 |
extern uint32_t mach_reply_port(); |
|
420 |
extern uint32_t mach_reply_port(void);
|
|
421 | 421 |
|
422 | 422 |
long ret = 0; |
423 | 423 |
|
... | ... | |
551 | 551 |
uint32_t arg8) |
552 | 552 |
{ |
553 | 553 |
extern uint32_t cthread_set_self(uint32_t); |
554 |
extern uint32_t processor_facilities_used(); |
|
554 |
extern uint32_t processor_facilities_used(void);
|
|
555 | 555 |
long ret = 0; |
556 | 556 |
|
557 | 557 |
arg1 = tswap32(arg1); |
... | ... | |
830 | 830 |
} |
831 | 831 |
|
832 | 832 |
long do_unix_syscall_indirect(void *cpu_env, int num); |
833 |
long do_sync(); |
|
833 |
long do_sync(void);
|
|
834 | 834 |
long do_exit(uint32_t arg1); |
835 | 835 |
long do_getlogin(char *out, uint32_t size); |
836 | 836 |
long do_open(char * arg1, uint32_t arg2, uint32_t arg3); |
... | ... | |
996 | 996 |
return -1; |
997 | 997 |
} |
998 | 998 |
|
999 |
long do_sync() |
|
999 |
long do_sync(void)
|
|
1000 | 1000 |
{ |
1001 | 1001 |
sync(); |
1002 | 1002 |
return 0; |
Also available in: Unified diff