mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 21:04:18 +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
@@ -179,7 +179,6 @@ static Bool shouldRemoveItem(struct WEditMenuDelegate *delegate, WEditMenu * men
|
||||
|
||||
static void freeItemData(ItemData * data);
|
||||
|
||||
extern char *capture_shortcut(Display *dpy, Bool *capturing, Bool convert_case);
|
||||
|
||||
static WEditMenuDelegate menuDelegate = {
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user