diff options
author | lecoanet | 2005-02-12 14:30:20 +0000 |
---|---|---|
committer | lecoanet | 2005-02-12 14:30:20 +0000 |
commit | fd2428a794d4f44ac9ac899efddfc7d51a332ddf (patch) | |
tree | 3c67293f47ec07aacc4fbe92a42a214f3549dac1 /generic/Icon.c | |
parent | e1ed2c6d78bb616e24166c13126adba1b95ea4ea (diff) | |
download | tkzinc-fd2428a794d4f44ac9ac899efddfc7d51a332ddf.zip tkzinc-fd2428a794d4f44ac9ac899efddfc7d51a332ddf.tar.gz tkzinc-fd2428a794d4f44ac9ac899efddfc7d51a332ddf.tar.bz2 tkzinc-fd2428a794d4f44ac9ac899efddfc7d51a332ddf.tar.xz |
Fixed the __unused macro to avoid a clash with dummy variables used in 64 bits headers
Diffstat (limited to 'generic/Icon.c')
-rw-r--r-- | generic/Icon.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/Icon.c b/generic/Icon.c index 7264be5..2db3b99 100644 --- a/generic/Icon.c +++ b/generic/Icon.c @@ -112,8 +112,8 @@ static ZnAttrConfig icon_attrs[] = { */ static int Init(ZnItem item, - int *argc __unused, - Tcl_Obj *CONST *args[] __unused) + int *argc __znunused, + Tcl_Obj *CONST *args[] __znunused) { ZnWInfo *wi = item->wi; IconItem icon = (IconItem) item; @@ -227,7 +227,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, icon_attrs, argv[0]) == TCL_ERROR) { @@ -247,7 +247,7 @@ Query(ZnItem item, */ static void ComputeCoordinates(ZnItem item, - ZnBool force __unused) + ZnBool force __znunused) { ZnWInfo *wi = item->wi; IconItem icon = (IconItem) item; @@ -634,7 +634,7 @@ Render(ZnItem item) } #else static void -Render(ZnItem item __unused) +Render(ZnItem item __znunused) { } #endif @@ -649,7 +649,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)); @@ -738,8 +738,8 @@ Pick(ZnItem item, ********************************************************************************** */ static void -PostScript(ZnItem item __unused, - ZnBool prepass __unused) +PostScript(ZnItem item __znunused, + ZnBool prepass __znunused) { } @@ -812,11 +812,11 @@ GetClipVertices(ZnItem item, */ static int Coords(ZnItem item, - int contour __unused, - int index __unused, + int contour __znunused, + int index __znunused, int cmd, ZnPoint **pts, - char **controls __unused, + char **controls __znunused, unsigned int *num_pts) { IconItem icon = (IconItem) item; |