fix compile error when RF is not enabled

void sig_int_handler(int signo) was declared in this case
but never used.
master
Andre Puschmann 5 years ago
parent 8e7b49b949
commit 6dc9c8f26a

@ -448,6 +448,7 @@ void base_free()
} }
bool go_exit = false; bool go_exit = false;
#ifndef DISABLE_RF
void sig_int_handler(int signo) void sig_int_handler(int signo)
{ {
printf("SIGINT received. Exiting...\n"); printf("SIGINT received. Exiting...\n");
@ -455,6 +456,7 @@ void sig_int_handler(int signo)
go_exit = true; go_exit = true;
} }
} }
#endif
unsigned int reverse(register unsigned int x) unsigned int reverse(register unsigned int x)
{ {

Loading…
Cancel
Save