From 23bdc8a0e8b3ad414e02095443db0bf800a416a7 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Tue, 22 Mar 2005 15:30:02 +0000 Subject: Suppressed __unused attribute, this will be dealed with by the gcc directive -Wno-unused-parameter and VC++ does not care about these anyway. --- generic/OverlapMan.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'generic/OverlapMan.c') diff --git a/generic/OverlapMan.c b/generic/OverlapMan.c index 8e38d39..e8515ff 100644 --- a/generic/OverlapMan.c +++ b/generic/OverlapMan.c @@ -45,12 +45,16 @@ static const char compile_id[]="$Compile: " __FILE__ " " __DATE__ " " __TIME__ " #else #include "malloc.h" #endif -#include "private.h" #include #include #include +#ifdef _WIN32 +# ifndef __GNUC__ +# pragma warning(disable : 4996) +# endif +#endif #define signe(a) ((a) < (0) ? (-1) : (1)) #define abs(a) ((a) < (0) ? -(a) : (a)) @@ -349,7 +353,7 @@ OmRegister(void *w, int *, int *), void (*_fset_label_angle)(void *, void *, int, int), void (*_fquery_label_pos)(void *, void *, int, - int *, int *, int *, int *) __znunused) + int *, int *, int *, int *)) { int iw=0; BOOLEAN found=FALSE; @@ -1061,7 +1065,7 @@ void OmProcessOverlap(void *zinc, int width, int height, - double scale __znunused) + double scale) { double acceleration = 0.0; int ip, iw; -- cgit v1.1