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/Track.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/Track.c')
-rw-r--r-- | generic/Track.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/generic/Track.c b/generic/Track.c index b079f63..1ad4e47 100644 --- a/generic/Track.c +++ b/generic/Track.c @@ -681,7 +681,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, track_attrs, argv[0]) == TCL_ERROR) { @@ -701,7 +701,7 @@ Query(ZnItem item, */ static void ComputeCoordinates(ZnItem item, - ZnBool force __unused) + ZnBool force __znunused) { ZnWInfo *wi = item->wi; TrackItem track = (TrackItem) item; @@ -1595,7 +1595,7 @@ Render(ZnItem item) } #else static void -Render(ZnItem item __unused) +Render(ZnItem item __znunused) { } #endif @@ -1779,8 +1779,8 @@ Pick(ZnItem item, ********************************************************************************** */ static void -PostScript(ZnItem item __unused, - ZnBool prepass __unused) +PostScript(ZnItem item __znunused, + ZnBool prepass __znunused) { } @@ -1919,9 +1919,9 @@ ZnSendTrackToOm(void *ptr, ********************************************************************************** */ void -ZnSetLabelAngleFromOm(void *ptr __unused, /* No longer in use. */ +ZnSetLabelAngleFromOm(void *ptr __znunused, /* No longer in use. */ void *item, - int rho __unused, + int rho __znunused, int theta) { TrackItem track = (TrackItem) item; @@ -1951,7 +1951,7 @@ ZnSetLabelAngleFromOm(void *ptr __unused, /* No longer in use. */ ********************************************************************************** */ void -ZnQueryLabelPosition(void *ptr __unused, /* No longer in use. */ +ZnQueryLabelPosition(void *ptr __znunused, /* No longer in use. */ void *item, int theta, int *x, @@ -1999,9 +1999,9 @@ ZnQueryLabelPosition(void *ptr __unused, /* No longer in use. */ ********************************************************************************** */ void -ZnSetHistoryVisibility(ZnItem item __unused, - int index __unused, - ZnBool visible __unused) +ZnSetHistoryVisibility(ZnItem item __znunused, + int index __znunused, + ZnBool visible __znunused) { } @@ -2078,11 +2078,11 @@ GetAnchor(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) { TrackItem track = (TrackItem) item; |