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/Map.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'generic/Map.c') diff --git a/generic/Map.c b/generic/Map.c index 5398528..7b1f8f5 100644 --- a/generic/Map.c +++ b/generic/Map.c @@ -123,7 +123,7 @@ static ZnAttrConfig map_attrs[] = { void UpdateMapInfo(ClientData client_data, - ZnMapInfoId map_info __znunused) + ZnMapInfoId map_info) { ZnItem item = (ZnItem) client_data; @@ -195,8 +195,8 @@ FreeLists(MapItem map) */ static int Init(ZnItem item, - int *argc __znunused, - Tcl_Obj *CONST *args[] __znunused) + int *argc, + Tcl_Obj *CONST *args[]) { MapItem map = (MapItem) item; ZnWInfo *wi = item->wi; @@ -437,7 +437,7 @@ Configure(ZnItem item, */ static int Query(ZnItem item, - int argc __znunused, + int argc, Tcl_Obj *CONST argv[]) { if (ZnQueryAttribute(item->wi->interp, item, map_attrs, argv[0]) == TCL_ERROR) { @@ -458,7 +458,7 @@ Query(ZnItem item, static void ComputeCoordinates(ZnItem item, - ZnBool force __znunused) + ZnBool force) { ZnWInfo *wi = item->wi; MapItem map = (MapItem) item; @@ -977,8 +977,8 @@ ComputeCoordinates(ZnItem item, */ static int -ToArea(ZnItem item __znunused, - ZnToArea ta __znunused) +ToArea(ZnItem item, + ZnToArea ta) { return -1; } @@ -1519,7 +1519,7 @@ Render(ZnItem item) } #else static void -Render(ZnItem item __znunused) +Render(ZnItem item) { } #endif @@ -1534,7 +1534,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)); @@ -1554,8 +1554,8 @@ IsSensitive(ZnItem item, ********************************************************************************** */ static double -Pick(ZnItem item __znunused, - ZnPick ps __znunused) +Pick(ZnItem item, + ZnPick ps) { return 1e40; } @@ -1569,8 +1569,8 @@ Pick(ZnItem item __znunused, ********************************************************************************** */ static void -PostScript(ZnItem item __znunused, - ZnBool prepass __znunused) +PostScript(ZnItem item, + ZnBool prepass) { } -- cgit v1.1