mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-24 16:25:46 +01:00
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:
committed by
Carlos R. Mafra
parent
549cefc47b
commit
5a65dbeb3d
@@ -29,7 +29,6 @@
|
||||
|
||||
char *NOptionValueChanged = "NOptionValueChanged";
|
||||
|
||||
extern void Initialize(WMScreen * scr);
|
||||
|
||||
#define MAX_DEATHS 64
|
||||
|
||||
@@ -42,7 +41,7 @@ struct {
|
||||
static pid_t DeadChildren[MAX_DEATHS];
|
||||
static int DeadChildrenCount = 0;
|
||||
|
||||
void wAbort(Bool foo)
|
||||
static void wAbort(Bool foo)
|
||||
{
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user