mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
wmaker: Replaced local 'extern' definition by proper header include
It is dangerous to define an extern variable locally because the compiler is not able to ensure proper type definition, but including the header that defines it allows a safer situation. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
401a37d924
commit
3803ae6493
@@ -36,9 +36,9 @@ Perpetrator: Sudish Joseph <sj@eng.mindspring.net>, Sept. 1997. */
|
|||||||
#include <X11/XKBlib.h>
|
#include <X11/XKBlib.h>
|
||||||
|
|
||||||
#include <WINGs/WUtil.h>
|
#include <WINGs/WUtil.h>
|
||||||
|
#include "WindowMaker.h"
|
||||||
#include "xmodifier.h"
|
#include "xmodifier.h"
|
||||||
|
|
||||||
extern Display *dpy;
|
|
||||||
|
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/* keymap handling */
|
/* keymap handling */
|
||||||
|
|||||||
Reference in New Issue
Block a user