1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

wmaker: Moved function prototype to the appropriate header

It is bad practice to define the prototype of an external function
inside a source file that wants to use it.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-06-30 16:02:36 +02:00
committed by Carlos R. Mafra
parent 74cd836e48
commit 496cb58cea
3 changed files with 3 additions and 5 deletions

View File

@@ -141,9 +141,6 @@ static void handleShapeNotify(XEvent *event);
static void handleXkbIndicatorStateNotify(XEvent *event);
#endif
/* called from the signal handler */
void NotifyDeadProcess(pid_t pid, unsigned char status);
/* real dead process handler */
static void handleDeadProcess(void *foo);

View File

@@ -36,4 +36,7 @@ void ProcessPendingEvents(void);
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
Bool IsDoubleClick(WScreen *scr, XEvent *event);
/* called from the signal handler */
void NotifyDeadProcess(pid_t pid, unsigned char status);
#endif /* WMEVENT_H */

View File

@@ -138,8 +138,6 @@ extern Cursor wCursor[WCUR_LAST];
extern char WDelayedActionSet;
#endif
extern void NotifyDeadProcess(pid_t pid, unsigned char status);
/***** Local *****/
static WScreen **wScreen = NULL;
static unsigned int _NumLockMask = 0;