mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
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:
committed by
Carlos R. Mafra
parent
d9832e578f
commit
18059fb1c7
@@ -128,6 +128,12 @@ typedef struct WShortKey {
|
||||
KeyCode keycode;
|
||||
} WShortKey;
|
||||
|
||||
/* ---[ Global Variables ]------------------------------------------------ */
|
||||
|
||||
extern WShortKey wKeyBindings[WKBD_LAST];
|
||||
|
||||
/* ---[ Functions ]------------------------------------------------------- */
|
||||
|
||||
void wKeyboardInitialize(void);
|
||||
|
||||
#endif /* WMKEYBIND_H */
|
||||
|
||||
Reference in New Issue
Block a user