summaryrefslogtreecommitdiff
path: root/src/Scrollbar.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 04:23:57 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 23:34:51 -0500
commita4c27e1e353978aeb78cfb9a3f4dda7689119ee9 (patch)
treee1ff9c075cd89e9d1fc88d610261ac3f68c82f4c /src/Scrollbar.c
parentdc03ee95bc990e22094360c3b0c801ae2fdeed8e (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/Scrollbar.c')
-rw-r--r--src/Scrollbar.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Scrollbar.c b/src/Scrollbar.c
index 3351c3e..bdd36de 100644
--- a/src/Scrollbar.c
+++ b/src/Scrollbar.c
@@ -1131,18 +1131,12 @@ static void NotifyThumb (w, event, params, num_params )
/* Set the scroll bar to the given location. */
-#if NeedFunctionPrototypes
void XawScrollbarSetThumb (Widget w,
#if NeedWidePrototypes
double top, double shown)
#else
float top, float shown)
#endif
-#else
-void XawScrollbarSetThumb (w, top, shown)
- Widget w;
- float top, shown;
-#endif
{
ScrollbarWidget sbw = (ScrollbarWidget) w;