[PATCH libXaw3d 05/21] AsciiText: Fix old-style function definitions

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


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

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
 src/AsciiText.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/AsciiText.c b/src/AsciiText.c
index 224ef8f..ff11be9 100644
--- a/src/AsciiText.c
+++ b/src/AsciiText.c
@@ -82,7 +82,8 @@ SOFTWARE.
 
 #define TAB_COUNT 32
 
-static void Initialize(), Destroy();
+static void Initialize(Widget, Widget, ArgList, Cardinal *);
+static void Destroy(Widget);
 
 AsciiTextClassRec asciiTextClassRec = {
   { /* core fields */
@@ -132,10 +133,7 @@ WidgetClass asciiTextWidgetClass = (WidgetClass)&asciiTextClassRec;
 
 
 static void
-Initialize(request, new, args, num_args)
-Widget request, new;
-ArgList args;
-Cardinal *num_args;
+Initialize(Widget request, Widget new, ArgList args, Cardinal *num_args)
 {
   AsciiWidget w = (AsciiWidget) new;
   int i;
@@ -203,8 +201,7 @@ Cardinal *num_args;
 }
 
 static void
-Destroy(w)
-Widget w;
+Destroy(Widget w)
 {
     /* Disconnect input method */
 
-- 
1.7.5.1



More information about the xorg-devel mailing list