WPrefs: 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 549cefc47b
commit 5a65dbeb3d
9 changed files with 36 additions and 45 deletions
-1
View File
@@ -133,7 +133,6 @@ static void deactivate(void *data)
static void handleActionEvents(XEvent * event, void *data)
{
_DoubleTest *dPtr = (_DoubleTest *) data;
extern _WINGsConfiguration WINGsConfiguration;
switch (event->type) {
case ButtonPress: