aboutsummaryrefslogtreecommitdiff
path: root/apps/xcalc/xcalc.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-17 06:33:29 +0000
committermarha <marha@users.sourceforge.net>2010-05-17 06:33:29 +0000
commit66e589cf1596b4d1612a4876440e9f677e4742d5 (patch)
tree2194a1ca1d7af1425ee9fa5e0bce5d9e0e76bca5 /apps/xcalc/xcalc.c
parente433a0ea8102dc6eaf845698620ab677d70e4774 (diff)
downloadvcxsrv-66e589cf1596b4d1612a4876440e9f677e4742d5.tar.gz
vcxsrv-66e589cf1596b4d1612a4876440e9f677e4742d5.tar.bz2
vcxsrv-66e589cf1596b4d1612a4876440e9f677e4742d5.zip
Solved compile warnings
Diffstat (limited to 'apps/xcalc/xcalc.c')
-rw-r--r--apps/xcalc/xcalc.c18
1 files changed, 3 insertions, 15 deletions
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';
}