mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +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:
1 parent
549cefc47b
commit
5a65dbeb3d
9 files changed
+36
-45
No files matched your search
@@ -158,7 +158,6 @@ static void doubleClick(WMWidget * w, void *data)
|
||||
{
|
||||
_Panel *panel = (_Panel *) data;
|
||||
int i;
|
||||
extern _WINGsConfiguration WINGsConfiguration;
|
||||
char buffer[32];
|
||||
|
||||
for (i = 0; i < 5; i++) {
|
||||
|
||||
Reference in new issue
Block a user