@@ -234,7 +234,8 @@ ClassInitialize(void)
234234 static void
235235FillArea (
236236 ScrollbarWidget sbw ,
237- Position top , bottom ,
237+ Position top ,
238+ Position bottom ,
238239 int fill ,
239240 int draw_shadow )
240241{
@@ -641,7 +642,7 @@ Redisplay(Widget w, XEvent *event, Region region)
641642
642643
643644 static Boolean
644- CompareEvents (XEvent * oldEvent , * newEvent )
645+ CompareEvents (XEvent * oldEvent , XEvent * newEvent )
645646{
646647#define Check (field ) if (newEvent->field != oldEvent->field) return False;
647648
@@ -713,7 +714,8 @@ LookAhead(Widget w, XEvent *event)
713714 static void
714715ExtractPosition (
715716 XEvent * event ,
716- Position * x , * y , /* RETURN */
717+ Position * x , /* RETURN */
718+ Position * y , /* RETURN */
717719 unsigned int * state ) /* RETURN */
718720{
719721 switch (event -> type )
@@ -816,7 +818,7 @@ RepeatNotify(XtPointer client_data, XtIntervalId *idp UNUSED)
816818 * Same as above, but for floating numbers.
817819 */
818820 static float
819- FloatInRange (float num , small , big )
821+ FloatInRange (float num , float small , float big )
820822{
821823 return (num < small ) ? small : ((num > big ) ? big : num );
822824}
@@ -984,7 +986,7 @@ EndScroll(
984986}
985987
986988 static float
987- FractionLoc (ScrollbarWidget sbw , int x , y )
989+ FractionLoc (ScrollbarWidget sbw , int x , int y )
988990{
989991 int margin ;
990992 float height , width ;
@@ -1165,7 +1167,7 @@ _Xaw3dDrawShadows(
11651167 * Set the scroll bar to the given location.
11661168 */
11671169 void
1168- vim_XawScrollbarSetThumb (Widget w , double top , shown , max )
1170+ vim_XawScrollbarSetThumb (Widget w , double top , double shown , double max )
11691171{
11701172 ScrollbarWidget sbw = (ScrollbarWidget ) w ;
11711173
0 commit comments