[PATCH libXaw3d 10/21] Grip: Fix old-style function definitions

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Thu Aug 25 22:38:12 PDT 2011


From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
 src/Grip.c |    9 +++------
 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;
 
-- 
1.7.5.1



More information about the xorg-devel mailing list