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/Triangles.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'generic/Triangles.c') diff --git a/generic/Triangles.c b/generic/Triangles.c index 6b5ee77..8d94d79 100644 --- a/generic/Triangles.c +++ b/generic/Triangles.c @@ -248,7 +248,7 @@ Configure(ZnItem item, */ static int Query(ZnItem item, - int argc __znunused, + int argc, Tcl_Obj *CONST argv[]) { if (ZnQueryAttribute(item->wi->interp, item, tr_attrs, argv[0]) == TCL_ERROR) { @@ -268,7 +268,7 @@ Query(ZnItem item, */ static void ComputeCoordinates(ZnItem item, - ZnBool force __znunused) + ZnBool force) { ZnWInfo *wi = item->wi; TrianglesItem tr = (TrianglesItem) item; @@ -498,7 +498,7 @@ Render(ZnItem item) } #else static void -Render(ZnItem item __znunused) +Render(ZnItem item) { } #endif @@ -513,7 +513,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)); @@ -585,8 +585,8 @@ Pick(ZnItem item, ********************************************************************************** */ static void -PostScript(ZnItem item __znunused, - ZnBool prepass __znunused) +PostScript(ZnItem item, + ZnBool prepass) { } @@ -678,11 +678,11 @@ GetContours(ZnItem item, */ static int Coords(ZnItem item, - int contour __znunused, + int contour, int index, int cmd, ZnPoint **pts, - char **controls __znunused, + char **controls, unsigned int *num_pts) { TrianglesItem tr = (TrianglesItem) item; -- cgit v1.1