From: Christophe CURIS <[email protected]>
---
src/event.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/event.c b/src/event.c
index 6a34892..85b25fa 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;
--
1.8.4.rc3
--
To unsubscribe, send mail to [email protected].