aboutsummaryrefslogtreecommitdiff
path: root/generic/Text.c
diff options
context:
space:
mode:
authorlecoanet2005-03-22 15:30:02 +0000
committerlecoanet2005-03-22 15:30:02 +0000
commit23bdc8a0e8b3ad414e02095443db0bf800a416a7 (patch)
tree32dca5b2d080e37bcf7c7d688b0a90a2bb0ed74c /generic/Text.c
parent031202b57154ac378a03b3524dfa155e6110df03 (diff)
downloadtkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.zip
tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.gz
tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.bz2
tkzinc-23bdc8a0e8b3ad414e02095443db0bf800a416a7.tar.xz
Suppressed __unused attribute, this will be dealed with
by the gcc directive -Wno-unused-parameter and VC++ does not care about these anyway.
Diffstat (limited to 'generic/Text.c')
-rw-r--r--generic/Text.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/generic/Text.c b/generic/Text.c
index 753962c..391525e 100644
--- a/generic/Text.c
+++ b/generic/Text.c
@@ -171,8 +171,8 @@ static ZnAttrConfig text_attrs[] = {
*/
static int
Init(ZnItem item,
- int *argc __znunused,
- Tcl_Obj *CONST *args[] __znunused)
+ int *argc,
+ Tcl_Obj *CONST *args[])
{
ZnWInfo *wi = item->wi;
TextItem text = (TextItem) item;
@@ -373,7 +373,7 @@ Configure(ZnItem item,
*/
static int
Query(ZnItem item,
- int argc __znunused,
+ int argc,
Tcl_Obj *CONST argv[])
{
if (ZnQueryAttribute(item->wi->interp, item, text_attrs, argv[0]) == TCL_ERROR) {
@@ -543,7 +543,7 @@ ComputeSelection(ZnItem item,
*/
static void
ComputeCoordinates(ZnItem item,
- ZnBool force __znunused)
+ ZnBool force)
{
ZnWInfo *wi = item->wi;
TextItem text = (TextItem) item;
@@ -1280,7 +1280,7 @@ Render(ZnItem item)
}
#else
static void
-Render(ZnItem item __znunused)
+Render(ZnItem item)
{
}
#endif
@@ -1295,7 +1295,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));
@@ -1366,8 +1366,8 @@ Pick(ZnItem item,
**********************************************************************************
*/
static void
-PostScript(ZnItem item __znunused,
- ZnBool prepass __znunused)
+PostScript(ZnItem item,
+ ZnBool prepass)
{
}
@@ -1428,11 +1428,11 @@ GetClipVertices(ZnItem item,
*/
static int
Coords(ZnItem item,
- int contour __znunused,
- int index __znunused,
+ int contour,
+ int index,
int cmd,
ZnPoint **pts,
- char **controls __znunused,
+ char **controls,
unsigned int *num_pts)
{
TextItem text = (TextItem) item;
@@ -1642,7 +1642,7 @@ MoveFromIndex(TextItem text,
static int
Index(ZnItem item,
- int field __znunused,
+ int field,
Tcl_Obj *index_spec,
int *index)
{
@@ -1748,7 +1748,7 @@ Index(ZnItem item,
*/
static void
InsertChars(ZnItem item,
- int field __znunused,
+ int field,
int *index,
char *chars)
{
@@ -1812,7 +1812,7 @@ InsertChars(ZnItem item,
*/
static void
DeleteChars(ZnItem item,
- int field __znunused,
+ int field,
int *first,
int *last)
{
@@ -1900,7 +1900,7 @@ DeleteChars(ZnItem item,
*/
static void
TextCursor(ZnItem item,
- int field __znunused,
+ int field,
int index)
{
TextItem text = (TextItem) item;
@@ -1926,7 +1926,7 @@ TextCursor(ZnItem item,
*/
static int
Selection(ZnItem item,
- int field __znunused,
+ int field,
int offset,
char *chars,
int max_bytes)