mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Address unprototyped call in dock.c
Create a header file dockedapp.h to address a long-standing warning which pollutes the compilation output with --enable-silent-rules: Making all in src CC dock.o dock.c: In function ‘wDockDetach’: dock.c:2118:3: warning: call to function ‘DestroyDockAppSettingsPanel’ without a real prototype [-Wunprototyped-calls] dock.c:65:13: note: ‘DestroyDockAppSettingsPanel’ was declared here CCLD wmaker
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "actions.h"
|
||||
#include "stacking.h"
|
||||
#include "dock.h"
|
||||
#include "dockedapp.h"
|
||||
#include "dialog.h"
|
||||
#include "funcs.h"
|
||||
#include "properties.h"
|
||||
@@ -60,10 +61,6 @@
|
||||
#define CLIP_FORWARD 2
|
||||
|
||||
/**** Global variables ****/
|
||||
|
||||
/* in dockedapp.c */
|
||||
extern void DestroyDockAppSettingsPanel();
|
||||
extern void ShowDockAppSettingsPanel(WAppIcon * aicon);
|
||||
extern Cursor wCursor[WCUR_LAST];
|
||||
extern WPreferences wPreferences;
|
||||
extern XContext wWinContext;
|
||||
|
||||
Reference in New Issue
Block a user