mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
src/main.c: Moved local prototype for global function to header 'funcs.h'
It is a bad idea to declare the prototype of an external function in a file as it won't allow the compiler to cross-check it.
This commit is contained in:
committed by
Carlos R. Mafra
parent
017e6a84a0
commit
a3281b1e89
@@ -38,6 +38,7 @@
|
||||
#include "window.h"
|
||||
#include "dialog.h"
|
||||
#include "main.h"
|
||||
#include "funcs.h"
|
||||
|
||||
/****** Global Variables ******/
|
||||
extern WPreferences wPreferences;
|
||||
|
||||
Reference in New Issue
Block a user