diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-25 21:45:22 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-26 17:31:50 -0500 |
commit | 9a1c6ca581e3520d6fde84ebdd088c02551c7339 (patch) | |
tree | 79226e368e7d1ddfd44a6fc2bceba1ac45e70ea2 | |
parent | 300f43919cb50f9d0e1a3cfef6f4744c108f5a4b (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.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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; |