cleanup compiler warnings

Ryan 2023-09-19 20:59:04 -04:00
parent cd38b59cdb
commit 6923c2bec5
Signed by: ryan
GPG Key ID: 7D7E2E94267DAD95
1 changed files with 0 additions and 9 deletions

9
dwm.c
View File

@ -224,7 +224,6 @@ static void setmfact(const Arg *arg);
static void setup(void);
static void seturgent(Client *c, int urg);
static void showhide(Client *c);
static void sigchld(int unused);
static void sighup(int unused);
static void sigterm(int unused);
static void spawn(const Arg *arg);
@ -1892,14 +1891,6 @@ showhide(Client *c)
}
}
void
sigchld(int unused)
{
if (signal(SIGCHLD, sigchld) == SIG_ERR)
die("can't install SIGCHLD handler:");
while (0 < waitpid(-1, NULL, WNOHANG));
}
void
sighup(int unused)
{