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 authored and Carlos R. Mafra committed 2013-05-12 01:01:20 +01:00
1 parent 549cefc47b
commit 5a65dbeb3d
9 files changed
+36 -45

No files matched your search

+2
View File
@@ -39,6 +39,8 @@ Perpetrator: Sudish Joseph <sj@eng.mindspring.net>, Sept. 1997. */
#include <WINGs/WUtil.h>
#include "WPrefs.h"
/************************************************************************/
/* keymap handling */
/************************************************************************/