1
0
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:
Christophe CURIS
2013-06-30 16:02:34 +02:00
committed by Carlos R. Mafra
parent 401a37d924
commit 3803ae6493

View File

@@ -36,9 +36,9 @@ Perpetrator: Sudish Joseph <sj@eng.mindspring.net>, Sept. 1997. */
#include <X11/XKBlib.h>
#include <WINGs/WUtil.h>
#include "WindowMaker.h"
#include "xmodifier.h"
extern Display *dpy;
/************************************************************************/
/* keymap handling */