wmaker: Moved definition of global variable 'wKeyBindings' to header

Multiple declaration of global variables in local source files is
a dangerous idea.
This commit is contained in:
Christophe CURIS
2013-10-11 21:58:14 +01:00
committed by Carlos R. Mafra
parent d9832e578f
commit 18059fb1c7
8 changed files with 6 additions and 15 deletions
-2
View File
@@ -71,8 +71,6 @@
#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker"
#endif
/***** Global *****/
extern WShortKey wKeyBindings[WKBD_LAST];
typedef struct _WDefaultEntry WDefaultEntry;
typedef int (WDECallbackConvert) (WScreen *scr, WDefaultEntry *entry, WMPropList *plvalue, void *addr, void **tdata);