1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +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:
Carlos R. Mafra
2010-04-16 18:12:25 +02:00
parent be065e3bf4
commit b17077ede0
6 changed files with 11 additions and 14 deletions

View File

@@ -291,9 +291,8 @@ void RCombineImagesWithOpaqueness(RImage * image, RImage * src, int opaqueness)
#undef COP
}
int
calculateCombineArea(RImage * des, int *sx, int *sy,
unsigned int *swidth, unsigned int *sheight, int *dx, int *dy)
static int calculateCombineArea(RImage *des, int *sx, int *sy, unsigned int *swidth,
unsigned int *sheight, int *dx, int *dy)
{
int width = (int)*swidth, height = (int)*sheight;