1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-01 19:42:32 +01:00

WINGs: Moved declaration of extern variable to the global header

Having local extern declaration is dangerous because the compiler
is not able to cross-check if the type of the variable was defined
consistently.
This commit is contained in:
Christophe CURIS
2013-05-12 00:24:49 +02:00
committed by Carlos R. Mafra
parent 5c2a1ae1a1
commit 8a58c8b568
3 changed files with 3 additions and 2 deletions

View File

@@ -40,7 +40,9 @@ typedef struct _WINGsConfiguration {
unsigned mouseWheelDown;
} _WINGsConfiguration;
extern char *_WINGS_progname;
extern _WINGsConfiguration WINGsConfiguration;
extern struct W_Application WMApplication;
/* ---[ drag*.c ]--------------------------------------------------------- */