Skip to content

Commit

Permalink
Update prototypes
Browse files Browse the repository at this point in the history
Some function prototypes were outdated. This updates them.
  • Loading branch information
k-takata committed Apr 16, 2019
1 parent 7f27976 commit b2d6194
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/os_mswin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ typedef BOOL (WINAPI *pfnGetVolumeInformationByHandleW)(
DWORD nFileSystemNameSize);
static pfnGetVolumeInformationByHandleW pGetVolumeInformationByHandleW = NULL;

char_u *
static char_u *
resolve_reparse_point(char_u *fname)
{
HANDLE h = INVALID_HANDLE_VALUE;
Expand Down
2 changes: 0 additions & 2 deletions src/proto/ex_getln.pro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,5 @@ int read_viminfo_history(vir_T *virp, int writing);
void handle_viminfo_history(garray_T *values, int writing);
void finish_viminfo_history(vir_T *virp);
void write_viminfo_history(FILE *fp, int merge);
void cmd_pchar(int c, int offset);
int cmd_gchar(int offset);
char_u *script_get(exarg_T *eap, char_u *cmd);
/* vim: set ft=c : */
1 change: 0 additions & 1 deletion src/proto/gui_w32.pro
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ void gui_mch_settitle(char_u *title, char_u *icon);
void mch_set_mouse_shape(int shape);
char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter);
char_u *gui_mch_browsedir(char_u *title, char_u *initdir);
int get_cmd_args(char *prog, char *cmdline, char ***argvp, char **tofree);
void gui_mch_set_parent(char *title);
void gui_mch_prepare(int *argc, char **argv);
int gui_mch_init(void);
Expand Down
2 changes: 1 addition & 1 deletion src/proto/terminal.pro
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void f_term_start(typval_T *argvars, typval_T *rettv);
void f_term_wait(typval_T *argvars, typval_T *rettv);
void term_send_eof(channel_T *ch);
job_T *term_getjob(term_T *term);
int terminal_enabled(void);
void term_free_conpty(term_T *term);
int use_conpty(void);
int terminal_enabled(void);
/* vim: set ft=c : */
2 changes: 1 addition & 1 deletion src/proto/window.pro
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void win_goto(win_T *wp);
win_T *win_find_nr(int winnr);
tabpage_T *win_find_tabpage(win_T *win);
win_T *win_vert_neighbor(tabpage_T *tp, win_T *wp, int up, long count);
win_T *win_horz_neighbor(tabpage_T *tp, win_T * wp, int left, long count);
win_T *win_horz_neighbor(tabpage_T *tp, win_T *wp, int left, long count);
void win_enter(win_T *wp, int undo_sync);
win_T *buf_jump_open_win(buf_T *buf);
win_T *buf_jump_open_tab(buf_T *buf);
Expand Down
2 changes: 1 addition & 1 deletion src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -4302,7 +4302,7 @@ win_goto_ver(
* Returns the specified window if the neighbor is not found.
*/
win_T *
win_horz_neighbor(tabpage_T *tp, win_T * wp, int left, long count)
win_horz_neighbor(tabpage_T *tp, win_T *wp, int left, long count)
{
frame_T *fr;
frame_T *nfr;
Expand Down

0 comments on commit b2d6194

Please sign in to comment.