Problem: Can't build with Athena.
Solution: Fix function declarations.
static int SFcompareLogins(const void *p, const void *q);
static int
-SFcompareLogins(const void *p, *q)
+SFcompareLogins(const void *p, const void *q)
{
return strcmp(((SFLogin *)p)->name, ((SFLogin *)q)->name);
}
static int SFfindHomeDir(char *begin, char *end);
static int
-SFfindHomeDir(char *begin, *end)
+SFfindHomeDir(char *begin, char *end)
{
char save;
char *theRest;
char *prompt,
char *init_path,
int (*show_entry)(),
- int x, y,
- guicolor_T fg, bg,
- guicolor_T scroll_fg, scroll_bg) /* The "Scrollbar" group colors */
+ int x,
+ int y,
+ guicolor_T fg,
+ guicolor_T bg,
+ guicolor_T scroll_fg,
+ guicolor_T scroll_bg) /* The "Scrollbar" group colors */
{
static int firstTime = 1;
XEvent event;
static void
FillArea(
ScrollbarWidget sbw,
- Position top, bottom,
+ Position top,
+ Position bottom,
int fill,
int draw_shadow)
{
static Boolean
-CompareEvents(XEvent *oldEvent, *newEvent)
+CompareEvents(XEvent *oldEvent, XEvent *newEvent)
{
#define Check(field) if (newEvent->field != oldEvent->field) return False;
static void
ExtractPosition(
XEvent *event,
- Position *x, *y, /* RETURN */
+ Position *x, /* RETURN */
+ Position *y, /* RETURN */
unsigned int *state) /* RETURN */
{
switch (event->type)
* Same as above, but for floating numbers.
*/
static float
-FloatInRange(float num, small, big)
+FloatInRange(float num, float small, float big)
{
return (num < small) ? small : ((num > big) ? big : num);
}
}
static float
-FractionLoc(ScrollbarWidget sbw, int x, y)
+FractionLoc(ScrollbarWidget sbw, int x, int y)
{
int margin;
float height, width;
* Set the scroll bar to the given location.
*/
void
-vim_XawScrollbarSetThumb(Widget w, double top, shown, max)
+vim_XawScrollbarSetThumb(Widget w, double top, double shown, double max)
{
ScrollbarWidget sbw = (ScrollbarWidget) w;
static void
gui_athena_scroll_cb_jump(
Widget w UNUSED,
- XtPointer client_data, call_data)
+ XtPointer client_data,
+ XtPointer call_data)
{
scrollbar_T *sb, *sb_info;
long value;
static void
gui_athena_scroll_cb_scroll(
Widget w UNUSED,
- XtPointer client_data, call_data)
+ XtPointer client_data,
+ XtPointer call_data)
{
scrollbar_T *sb, *sb_info;
long value;
* Get the position of the top left corner of the window.
*/
int
-gui_mch_get_winpos(int *x, *y)
+gui_mch_get_winpos(int *x, int *y)
{
Dimension xpos, ypos;
* coordinates.
*/
void
-gui_mch_set_winpos(int x, y)
+gui_mch_set_winpos(int x, int y)
{
XtVaSetValues(vimShell,
XtNx, x,
static XtIntervalId blink_timer = (XtIntervalId)0;
void
-gui_mch_set_blinking(long waittime, on, off)
+gui_mch_set_blinking(long waittime, long on, long off)
{
blink_waittime = waittime;
blink_ontime = on;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1209,
/**/
1208,
/**/