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 -1
View File
@@ -43,7 +43,7 @@
/****** Global Variables ******/
extern WPreferences wPreferences;
int showCrashDialog(int sig)
static int showCrashDialog(int sig)
{
int crashAction;