mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 12:00:44 +01:00
fix: clang warnings
This commit is contained in:
@@ -3,9 +3,10 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
static void handle_sigterm(int) {
|
static void handle_sigterm(int sig) {
|
||||||
signal(SIGTERM, SIG_IGN);
|
(void)sig;
|
||||||
|
|
||||||
|
(void)signal(SIGTERM, SIG_IGN);
|
||||||
kill(-getpgrp(), SIGTERM);
|
kill(-getpgrp(), SIGTERM);
|
||||||
|
|
||||||
int status;
|
int status;
|
||||||
|
|||||||
Reference in New Issue
Block a user