mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Move _exit function up, so gcc doesn't complain
This commit is contained in:
parent
9f169d5520
commit
1a1a81bfa0
1 changed files with 6 additions and 5 deletions
|
@ -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 a new issue