mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +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
@@ -1,6 +1,9 @@
|
||||
|
||||
#include <WINGs/WINGsP.h>
|
||||
|
||||
#include "geomview.h"
|
||||
|
||||
|
||||
typedef struct W_GeometryView {
|
||||
W_Class widgetClass;
|
||||
WMView *view;
|
||||
|
||||
Reference in New Issue
Block a user