From 821bacb5f45223e59ae92a2cf36632bdec592aa2 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 13 Oct 2013 15:41:55 +0200 Subject: [PATCH] Removed parameter to function 'handleDeadProcess' that was not used --- src/event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event.c b/src/event.c index 6a34892b..85b25fa5 100644 --- a/src/event.c +++ b/src/event.c @@ -112,7 +112,7 @@ static void handleXkbIndicatorStateNotify(XEvent *event); #endif /* real dead process handler */ -static void handleDeadProcess(void *foo); +static void handleDeadProcess(void); typedef struct DeadProcesses { pid_t pid; @@ -165,7 +165,7 @@ static void wdelete_death_handler(WMagicNumber id) void DispatchEvent(XEvent * event) { if (deathHandlers) - handleDeadProcess(NULL); + handleDeadProcess(); if (WCHECK_STATE(WSTATE_NEED_EXIT)) { WCHANGE_STATE(WSTATE_EXITING); @@ -454,7 +454,7 @@ void NotifyDeadProcess(pid_t pid, unsigned char status) deadProcessPtr++; } -static void handleDeadProcess(void *foo) +static void handleDeadProcess(void) { DeathHandler *tmp; int i;