1
0
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:
Christophe CURIS
2013-05-12 00:24:48 +02:00
committed by Carlos R. Mafra
parent 367d1f938d
commit 5c2a1ae1a1
5 changed files with 7 additions and 6 deletions

View File

@@ -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)
{