wmaker: Cleaned dangerous function prototype usage

- remove extern declaration in source file, use header instead

- add inclusion of header defining the functions of the file to
get the compiler to cross-check them

- marked static the functions that should not be visible ouside
their file
This commit is contained in:
Christophe CURIS
2013-05-12 01:01:20 +01:00
committed by Carlos R. Mafra
parent 4b89104aca
commit d517d5cac0
17 changed files with 21 additions and 9 deletions
-1
View File
@@ -61,7 +61,6 @@
extern int ignore_wks_change;
extern WPreferences wPreferences;
extern XContext wVEdgeContext;
extern void ProcessPendingEvents();
extern WShortKey wKeyBindings[WKBD_LAST];
static WMPropList *dWorkspaces = NULL;