summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-25 21:45:22 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-26 17:31:50 -0500
commit9a1c6ca581e3520d6fde84ebdd088c02551c7339 (patch)
tree79226e368e7d1ddfd44a6fc2bceba1ac45e70ea2
parent300f43919cb50f9d0e1a3cfef6f4744c108f5a4b (diff)
Grip: Fix old-style function definitions
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--src/Grip.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Grip.c b/src/Grip.c
index 2f49194..bfac850 100644
--- a/src/Grip.c
+++ b/src/Grip.c
@@ -71,7 +71,7 @@ static XtResource resources[] = {
XtOffsetOf(GripRec, grip.grip_action), XtRCallback, NULL},
};
-static void GripAction( /* Widget, XEvent*, String*, Cardinal */ );
+static void GripAction(Widget, XEvent *, String *, Cardinal *);
static XtActionsRec actionsList[] =
{
@@ -132,11 +132,8 @@ GripClassRec gripClassRec = {
WidgetClass gripWidgetClass = (WidgetClass) &gripClassRec;
-static void GripAction( widget, event, params, num_params )
- Widget widget;
- XEvent *event;
- String *params;
- Cardinal *num_params;
+static void
+GripAction(Widget widget, XEvent *event, String *params, Cardinal *num_params)
{
XawGripCallDataRec call_data;