mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
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:
committed by
Carlos R. Mafra
parent
4b89104aca
commit
d517d5cac0
@@ -43,7 +43,7 @@
|
||||
/****** Global Variables ******/
|
||||
extern WPreferences wPreferences;
|
||||
|
||||
int showCrashDialog(int sig)
|
||||
static int showCrashDialog(int sig)
|
||||
{
|
||||
int crashAction;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user