From 66e589cf1596b4d1612a4876440e9f677e4742d5 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 17 May 2010 06:33:29 +0000 Subject: Solved compile warnings --- apps/xcalc/xcalc.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'apps/xcalc/xcalc.c') diff --git a/apps/xcalc/xcalc.c b/apps/xcalc/xcalc.c index 0f943115a..5c9bc632a 100644 --- a/apps/xcalc/xcalc.c +++ b/apps/xcalc/xcalc.c @@ -339,14 +339,7 @@ void Syntax(argc, argv) */ /*ARGSUSED*/ -Boolean convert(w, selection, target, type, value, length, format) - Widget w; - Atom *selection; - Atom *target; - Atom *type; - XtPointer *value; - unsigned long *length; - int *format; +Boolean convert(Widget w, Atom *selection, Atom *target, Atom *type, XtPointer *value, unsigned long *length, int *format) { if (*target == XA_STRING) { @@ -364,9 +357,7 @@ Boolean convert(w, selection, target, type, value, length, format) * called when xcalc loses ownership of the selection. */ /*ARGSUSED*/ -void lose(w, selection) - Widget w; - Atom *selection; +void lose(Widget w, Atom *selection) { XawToggleUnsetCurrent(LCD); } @@ -375,10 +366,7 @@ void lose(w, selection) * called when some other client got the selection. */ /*ARGSUSED*/ -void done(w, selection, target) - Widget w; - Atom *selection; - Atom *target; +void done(Widget w, Atom *selection, Atom *target) { selstr[0] = '\0'; } -- cgit v1.2.3