diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-25 19:40:30 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-26 17:31:47 -0500 |
commit | 6a5e48d02df894e4f2e408c80d62b26ddc5f6007 (patch) | |
tree | 624efb2bc436ff6313bcd8cd3a959f10275e2b3a | |
parent | 0639b4c4bffaa93c6f27d0675f81716a71f14f5f (diff) |
AsciiText: 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/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 */ |