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 authored and Carlos R. Mafra committed 2013-05-12 01:01:20 +01:00
1 parent 367d1f938d
commit 5c2a1ae1a1
5 files changed
+7 -6

No files matched your search

+2 -1
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)
{