Commit 57e7a7c6 authored by Vincent van Beveren's avatar Vincent van Beveren

Patched for GCC 9.3

parent 613129d0
Pipeline #4272 failed with stages
......@@ -84,7 +84,7 @@ static void sighandler(int sig)
* we use sys_siglist[] instead of strsignal() to stay compatible
* with old versions of glibc
*/
printf("\nEXIT: Signal %s received\n", sys_siglist[sig]);
printf("\nEXIT: Signal %d received\n", sig);
free(_cmdlist);
if (user_sig_hndl)
user_sig_hndl();
......
......@@ -48,7 +48,7 @@ int verbose;
/* sames name as in ./dev because we reuse lm32 code */
void *BASE_ONEWIRE;
struct w1_bus wrpc_w1_bus;
extern struct w1_bus wrpc_w1_bus;
static int spec_read_w1(struct spec_device *spec, int w1base, int w1len)
......
......@@ -48,7 +48,7 @@ int verbose;
/* sames name as in ./dev because we reuse lm32 code */
void *BASE_ONEWIRE;
struct w1_bus wrpc_w1_bus;
extern struct w1_bus wrpc_w1_bus;
static int spec_write_w1(struct spec_device *spec, int w1base, int w1len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment