mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Removed parameter to function 'handleDeadProcess' that was not used
This commit is contained in:
committed by
Carlos R. Mafra
parent
3cf4ba91aa
commit
821bacb5f4
@@ -112,7 +112,7 @@ static void handleXkbIndicatorStateNotify(XEvent *event);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* real dead process handler */
|
/* real dead process handler */
|
||||||
static void handleDeadProcess(void *foo);
|
static void handleDeadProcess(void);
|
||||||
|
|
||||||
typedef struct DeadProcesses {
|
typedef struct DeadProcesses {
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
@@ -165,7 +165,7 @@ static void wdelete_death_handler(WMagicNumber id)
|
|||||||
void DispatchEvent(XEvent * event)
|
void DispatchEvent(XEvent * event)
|
||||||
{
|
{
|
||||||
if (deathHandlers)
|
if (deathHandlers)
|
||||||
handleDeadProcess(NULL);
|
handleDeadProcess();
|
||||||
|
|
||||||
if (WCHECK_STATE(WSTATE_NEED_EXIT)) {
|
if (WCHECK_STATE(WSTATE_NEED_EXIT)) {
|
||||||
WCHANGE_STATE(WSTATE_EXITING);
|
WCHANGE_STATE(WSTATE_EXITING);
|
||||||
@@ -454,7 +454,7 @@ void NotifyDeadProcess(pid_t pid, unsigned char status)
|
|||||||
deadProcessPtr++;
|
deadProcessPtr++;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handleDeadProcess(void *foo)
|
static void handleDeadProcess(void)
|
||||||
{
|
{
|
||||||
DeathHandler *tmp;
|
DeathHandler *tmp;
|
||||||
int i;
|
int i;
|
||||||
|
|||||||
Reference in New Issue
Block a user