Move _exit function up, so gcc doesn't complain
This commit is contained in:
parent
9f169d5520
commit
1a1a81bfa0
|
@ -4,15 +4,16 @@ int getentropy(void *v, size_t s) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
int getpid() {
|
||||
int getpid(void) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int kill(int pid, int name) {
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
void _exit(int code) {
|
||||
while (1);
|
||||
}
|
||||
|
||||
int kill(int pid, int name) {
|
||||
_exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue