Mercurial > vim
diff src/gui_at_fs.c @ 7825:7898da204b98 v7.4.1209
commit https://github.com/vim/vim/commit/02fdaeaa697fb5af4ba7fee6e209b3c2c825bb4f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 18:13:55 2016 +0100
patch 7.4.1209
Problem: Can't build with Athena.
Solution: Fix function declarations.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 18:15:04 +0100 |
parents | 81794242a275 |
children | f094d4085014 |
line wrap: on
line diff
--- a/src/gui_at_fs.c +++ b/src/gui_at_fs.c @@ -495,7 +495,7 @@ SFunselect(void) 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); } @@ -571,7 +571,7 @@ SFgetHomeDirs(void) static int SFfindHomeDir(char *begin, char *end); static int -SFfindHomeDir(char *begin, *end) +SFfindHomeDir(char *begin, char *end) { char save; char *theRest; @@ -2709,9 +2709,12 @@ vim_SelFile( 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;