From fd2428a794d4f44ac9ac899efddfc7d51a332ddf Mon Sep 17 00:00:00 2001 From: lecoanet Date: Sat, 12 Feb 2005 14:30:20 +0000 Subject: Fixed the __unused macro to avoid a clash with dummy variables used in 64 bits headers --- generic/Rectangle.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'generic/Rectangle.c') diff --git a/generic/Rectangle.c b/generic/Rectangle.c index a7ffb81..6ae61c4 100644 --- a/generic/Rectangle.c +++ b/generic/Rectangle.c @@ -287,7 +287,7 @@ Configure(ZnItem item, */ static int Query(ZnItem item, - int argc __unused, + int argc __znunused, Tcl_Obj *CONST argv[]) { if (ZnQueryAttribute(item->wi->interp, item, rect_attrs, argv[0]) == TCL_ERROR) { @@ -307,7 +307,7 @@ Query(ZnItem item, */ static void ComputeCoordinates(ZnItem item, - ZnBool force __unused) + ZnBool force __znunused) { ZnWInfo *wi = item->wi; RectangleItem rect = (RectangleItem) item; @@ -690,7 +690,7 @@ Render(ZnItem item) } #else static void -Render(ZnItem item __unused) +Render(ZnItem item __znunused) { } #endif @@ -705,7 +705,7 @@ Render(ZnItem item __unused) */ static ZnBool IsSensitive(ZnItem item, - int item_part __unused) + int item_part __znunused) { return (ISSET(item->flags, ZN_SENSITIVE_BIT) && item->parent->class->IsSensitive(item->parent, ZN_NO_PART)); @@ -765,8 +765,8 @@ Pick(ZnItem item, ********************************************************************************** */ static void -PostScript(ZnItem item __unused, - ZnBool prepass __unused) +PostScript(ZnItem item __znunused, + ZnBool prepass __znunused) { } @@ -834,11 +834,11 @@ GetClipVertices(ZnItem item, */ static int Coords(ZnItem item, - int contour __unused, + int contour __znunused, int index, int cmd, ZnPoint **pts, - char **controls __unused, + char **controls __znunused, unsigned int *num_pts) { RectangleItem rect = (RectangleItem) item; -- cgit v1.1