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:
committed by
Carlos R. Mafra
parent
74cd836e48
commit
496cb58cea
@@ -141,9 +141,6 @@ static void handleShapeNotify(XEvent *event);
|
|||||||
static void handleXkbIndicatorStateNotify(XEvent *event);
|
static void handleXkbIndicatorStateNotify(XEvent *event);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* called from the signal handler */
|
|
||||||
void NotifyDeadProcess(pid_t pid, unsigned char status);
|
|
||||||
|
|
||||||
/* real dead process handler */
|
/* real dead process handler */
|
||||||
static void handleDeadProcess(void *foo);
|
static void handleDeadProcess(void *foo);
|
||||||
|
|
||||||
|
|||||||
@@ -36,4 +36,7 @@ void ProcessPendingEvents(void);
|
|||||||
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
|
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
|
||||||
Bool IsDoubleClick(WScreen *scr, XEvent *event);
|
Bool IsDoubleClick(WScreen *scr, XEvent *event);
|
||||||
|
|
||||||
|
/* called from the signal handler */
|
||||||
|
void NotifyDeadProcess(pid_t pid, unsigned char status);
|
||||||
|
|
||||||
#endif /* WMEVENT_H */
|
#endif /* WMEVENT_H */
|
||||||
|
|||||||
@@ -138,8 +138,6 @@ extern Cursor wCursor[WCUR_LAST];
|
|||||||
extern char WDelayedActionSet;
|
extern char WDelayedActionSet;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void NotifyDeadProcess(pid_t pid, unsigned char status);
|
|
||||||
|
|
||||||
/***** Local *****/
|
/***** Local *****/
|
||||||
static WScreen **wScreen = NULL;
|
static WScreen **wScreen = NULL;
|
||||||
static unsigned int _NumLockMask = 0;
|
static unsigned int _NumLockMask = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user