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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user