fix signal handler (according to POSIX spec requires an int as parameter)
parent
9c209293e6
commit
0645fe27ac
|
|
@ -39,7 +39,7 @@ ssize_t write_size;
|
||||||
// 1 stdin
|
// 1 stdin
|
||||||
struct pollfd polls_pls[NUMBER_OF_POLLED_FILES];
|
struct pollfd polls_pls[NUMBER_OF_POLLED_FILES];
|
||||||
|
|
||||||
void stop() {
|
void stop([[maybe_unused]] int ignored) {
|
||||||
stop_now = true;
|
stop_now = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue