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/Reticle.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/Reticle.c')
-rw-r--r-- | generic/Reticle.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/generic/Reticle.c b/generic/Reticle.c index 6bfa235..3011f5d 100644 --- a/generic/Reticle.c +++ b/generic/Reticle.c @@ -137,8 +137,8 @@ static ZnAttrConfig reticle_attrs[] = { */ static int Init(ZnItem item, - int *argc __znunused, - Tcl_Obj *CONST *args[] __znunused) + int *argc, + Tcl_Obj *CONST *args[]) { ReticleItem reticle = (ReticleItem) item; ZnWInfo *wi = item->wi; @@ -234,7 +234,7 @@ Configure(ZnItem item, */ static int Query(ZnItem item, - int argc __znunused, + int argc, Tcl_Obj *CONST argv[]) { if (ZnQueryAttribute(item->wi->interp, item, reticle_attrs, argv[0]) == TCL_ERROR) { @@ -254,7 +254,7 @@ Query(ZnItem item, */ static void ComputeCoordinates(ZnItem item, - ZnBool force __znunused) + ZnBool force) { ZnWInfo *wi = item->wi; ReticleItem reticle = (ReticleItem) item; @@ -305,8 +305,8 @@ ComputeCoordinates(ZnItem item, ********************************************************************************** */ static int -ToArea(ZnItem item __znunused, - ZnToArea ta __znunused) +ToArea(ZnItem item, + ZnToArea ta) { return -1; } @@ -493,7 +493,7 @@ Render(ZnItem item) } #else static void -Render(ZnItem item __znunused) +Render(ZnItem item) { } #endif @@ -508,7 +508,7 @@ Render(ZnItem item __znunused) */ static ZnBool IsSensitive(ZnItem item, - int item_part __znunused) + int item_part) { return (ISSET(item->flags, ZN_SENSITIVE_BIT) && item->parent->class->IsSensitive(item->parent, ZN_NO_PART)); @@ -524,8 +524,8 @@ IsSensitive(ZnItem item, ********************************************************************************** */ static double -Pick(ZnItem item __znunused, - ZnPick ps __znunused) +Pick(ZnItem item, + ZnPick ps) { return 1e40; } @@ -541,11 +541,11 @@ Pick(ZnItem item __znunused, */ static int Coords(ZnItem item, - int contour __znunused, - int index __znunused, + int contour, + int index, int cmd, ZnPoint **pts, - char **controls __znunused, + char **controls, unsigned int *num_pts) { ReticleItem reticle = (ReticleItem) item; @@ -580,8 +580,8 @@ Coords(ZnItem item, ********************************************************************************** */ static void -PostScript(ZnItem item __znunused, - ZnBool prepass __znunused) +PostScript(ZnItem item, + ZnBool prepass) { } |