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