mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 17:32:29 +01:00
Avoid more gcc warnings
WUtil.h:212: warning: function declaration isn’t a prototype WUtil.h:259: warning: function declaration isn’t a prototype WUtil.h:300: warning: function declaration isn’t a prototype WINGsP.h:593: warning: function declaration isn’t a prototype WINGsP.h:599: warning: function declaration isn’t a prototype WINGs.h:616: warning: function declaration isn’t a prototype raster.c:295: warning: no previous prototype for ‘calculateCombineArea’
This commit is contained in:
@@ -613,7 +613,7 @@ void WMInitializeApplication(char *applicationName, int *argc, char **argv);
|
||||
void WMSetResourcePath(char *path);
|
||||
|
||||
/* don't free the returned string */
|
||||
char* WMGetApplicationName();
|
||||
char* WMGetApplicationName(void);
|
||||
|
||||
/* Try to locate resource file. ext may be NULL */
|
||||
char* WMPathForResourceOfType(char *resource, char *ext);
|
||||
|
||||
@@ -590,13 +590,13 @@ Bool W_SendDnDClientMessage(Display *dpy, Window win, Atom message,
|
||||
|
||||
void W_DragSourceStartTimer(WMDraggingInfo *info);
|
||||
|
||||
void W_DragSourceStopTimer();
|
||||
void W_DragSourceStopTimer(void);
|
||||
|
||||
void W_DragSourceStateHandler(WMDraggingInfo *info, XClientMessageEvent *event);
|
||||
|
||||
void W_DragDestinationStartTimer(WMDraggingInfo *info);
|
||||
|
||||
void W_DragDestinationStopTimer();
|
||||
void W_DragDestinationStopTimer(void);
|
||||
|
||||
void W_DragDestinationStoreEnterMsgInfo(WMDraggingInfo *info, WMView *toplevel,
|
||||
XClientMessageEvent *event);
|
||||
|
||||
@@ -209,7 +209,7 @@ int wmkdirhier(const char *path);
|
||||
int wrmdirhier(const char *path);
|
||||
|
||||
/* don't free the returned string */
|
||||
char* wgethomedir();
|
||||
char* wgethomedir(void);
|
||||
|
||||
void* wmalloc(size_t size);
|
||||
void* wrealloc(void *ptr, size_t newsize);
|
||||
@@ -256,7 +256,7 @@ WMRange wmkrange(int start, int count);
|
||||
#endif
|
||||
|
||||
|
||||
char* wusergnusteppath();
|
||||
char* wusergnusteppath(void);
|
||||
|
||||
char* wdefaultspathfordomain(char *domain);
|
||||
char* wglobaldefaultspathfordomain(const char *domain);
|
||||
@@ -297,7 +297,7 @@ void WMDeleteInputHandler(WMHandlerID handlerID);
|
||||
* This function will handle all input/timer/idle events, then return.
|
||||
*/
|
||||
|
||||
void WHandleEvents();
|
||||
void WHandleEvents(void);
|
||||
|
||||
/*......................................................................*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user