diff options
author | lecoanet | 2005-03-22 15:30:02 +0000 |
---|---|---|
committer | lecoanet | 2005-03-22 15:30:02 +0000 |
commit | 23bdc8a0e8b3ad414e02095443db0bf800a416a7 (patch) | |
tree | 32dca5b2d080e37bcf7c7d688b0a90a2bb0ed74c /generic/OverlapMan.c | |
parent | 031202b57154ac378a03b3524dfa155e6110df03 (diff) | |
download | tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.zip tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.gz tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.bz2 tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.xz |
Suppressed __unused attribute, this will be dealed with
by the gcc directive -Wno-unused-parameter and VC++
does not care about these anyway.
Diffstat (limited to 'generic/OverlapMan.c')
-rw-r--r-- | generic/OverlapMan.c | 10 |
1 files changed, 7 insertions, 3 deletions
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 <stdio.h> #include <string.h> #include <math.h> +#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; |