diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 04:23:57 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-08-24 23:34:51 -0500 |
commit | a4c27e1e353978aeb78cfb9a3f4dda7689119ee9 (patch) | |
tree | e1ff9c075cd89e9d1fc88d610261ac3f68c82f4c /src/MultiSink.c | |
parent | dc03ee95bc990e22094360c3b0c801ae2fdeed8e (diff) |
unifdef -DNeedFunctionPrototypes -DNeedVarargsPrototypes
This is the first step to removing old-style function definition warnings.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Acked-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src/MultiSink.c')
-rw-r--r-- | src/MultiSink.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/MultiSink.c b/src/MultiSink.c index f1c899c..1e60b92 100644 --- a/src/MultiSink.c +++ b/src/MultiSink.c @@ -166,17 +166,10 @@ WidgetClass multiSinkObjectClass = (WidgetClass)&multiSinkClassRec; /* Utilities */ static int -#if NeedFunctionPrototypes CharWidth ( Widget w, int x, wchar_t c) -#else -CharWidth (w, x, c) - Widget w; - int x; - wchar_t c; -#endif { int i, width; MultiSinkObject sink = (MultiSinkObject) w; @@ -666,15 +659,9 @@ MaxLines(w, height) /* ARGSUSED */ static int -#if NeedFunctionPrototypes MaxHeight( Widget w, int lines ) -#else -MaxHeight( w, lines ) - Widget w; - int lines; -#endif { MultiSinkObject sink = (MultiSinkObject) w; XFontSetExtents *ext = XExtentsOfFontSet(sink->multi_sink.fontset); @@ -691,17 +678,10 @@ MaxHeight( w, lines ) */ static void -#if NeedFunctionPrototypes SetTabs( Widget w, int tab_count, short* tabs ) -#else -SetTabs( w, tab_count, tabs ) - Widget w; - int tab_count; - short* tabs; -#endif { MultiSinkObject sink = (MultiSinkObject) w; int i; @@ -758,18 +738,11 @@ SetTabs( w, tab_count, tabs ) } void -#if NeedFunctionPrototypes _XawMultiSinkPosToXY( Widget w, XawTextPosition pos, Position *x, Position *y ) -#else -_XawMultiSinkPosToXY( w, pos, x, y ) - Widget w; - XawTextPosition pos; - Position *x, *y; -#endif { MultiSinkObject sink = (MultiSinkObject) ((TextWidget)w)->text.sink; XFontSetExtents *ext = XExtentsOfFontSet( sink->multi_sink.fontset ); |