mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-27 10:25:49 +01:00
WINGs: Place prototype of functions in WINGsP.h instead of local definition
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
367d1f938d
commit
5c2a1ae1a1
@@ -5,6 +5,8 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "WUtil.h"
|
||||
#include "WINGsP.h"
|
||||
|
||||
|
||||
typedef struct W_Notification {
|
||||
const char *name;
|
||||
@@ -13,7 +15,6 @@ typedef struct W_Notification {
|
||||
int refCount;
|
||||
} Notification;
|
||||
|
||||
extern void W_FlushASAPNotificationQueue();
|
||||
|
||||
const char *WMGetNotificationName(WMNotification * notification)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user