summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-18 18:04:50 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-18 18:04:50 +0200
commit6df6f47d6dc59fe82b95b9c2f4a4d542fd5ac239 (patch)
tree4832d5b27b1220617848917e3036687e3167557d /src/proto
parentdc536095ac452c12e9bb4c69b473d28d51e8d4b9 (diff)
Make automatic prototype generation work with more interfaces.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/diff.pro2
-rw-r--r--src/proto/if_python3.pro2
-rw-r--r--src/proto/main.pro2
-rw-r--r--src/proto/move.pro2
-rw-r--r--src/proto/screen.pro2
-rw-r--r--src/proto/sha256.pro2
-rw-r--r--src/proto/ui.pro2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/proto/diff.pro b/src/proto/diff.pro
index f314fce58b..18c42651fd 100644
--- a/src/proto/diff.pro
+++ b/src/proto/diff.pro
@@ -22,6 +22,6 @@ void nv_diffgetput __ARGS((int put));
void ex_diffgetput __ARGS((exarg_T *eap));
int diff_mode_buf __ARGS((buf_T *buf));
int diff_move_to __ARGS((int dir, long count));
-linenr_T diff_get_corresponding_line __ARGS((buf_T *buf1, linenr_T lnum1, buf_T *buf2, linenr_T lnum2));
+linenr_T diff_get_corresponding_line __ARGS((buf_T *buf1, linenr_T lnum1, buf_T *buf2, linenr_T lnum3));
linenr_T diff_lnum_win __ARGS((linenr_T lnum, win_T *wp));
/* vim: set ft=c : */
diff --git a/src/proto/if_python3.pro b/src/proto/if_python3.pro
index cca043092e..a2c7e4c160 100644
--- a/src/proto/if_python3.pro
+++ b/src/proto/if_python3.pro
@@ -1,4 +1,4 @@
-/* if_python.c */
+/* if_python3.c */
int python3_enabled __ARGS((int verbose));
void python3_end __ARGS((void));
void ex_python3 __ARGS((exarg_T *eap));
diff --git a/src/proto/main.pro b/src/proto/main.pro
index 2ecce79557..62e80b87fd 100644
--- a/src/proto/main.pro
+++ b/src/proto/main.pro
@@ -6,7 +6,7 @@ int process_env __ARGS((char_u *env, int is_viminit));
void mainerr_arg_missing __ARGS((char_u *str));
void time_push __ARGS((void *tv_rel, void *tv_start));
void time_pop __ARGS((void *tp));
-void time_msg __ARGS((char *msg, void *tv_start));
+void time_msg __ARGS((char *mesg, void *tv_start));
void server_to_input_buf __ARGS((char_u *str));
char_u *eval_client_expr_to_string __ARGS((char_u *expr));
char_u *serverConvert __ARGS((char_u *client_enc, char_u *data, char_u **tofree));
diff --git a/src/proto/move.pro b/src/proto/move.pro
index f1f3a11378..5fe3844d74 100644
--- a/src/proto/move.pro
+++ b/src/proto/move.pro
@@ -1,5 +1,4 @@
/* move.c */
-void do_check_cursorbind __ARGS((void));
void update_topline_redraw __ARGS((void));
void update_topline __ARGS((void));
void update_curswant __ARGS((void));
@@ -38,4 +37,5 @@ void scroll_cursor_halfway __ARGS((int atend));
void cursor_correct __ARGS((void));
int onepage __ARGS((int dir, long count));
void halfpage __ARGS((int flag, linenr_T Prenum));
+void do_check_cursorbind __ARGS((void));
/* vim: set ft=c : */
diff --git a/src/proto/screen.pro b/src/proto/screen.pro
index 937e4ed5a5..05114d0e6e 100644
--- a/src/proto/screen.pro
+++ b/src/proto/screen.pro
@@ -8,6 +8,7 @@ void redraw_buf_later __ARGS((buf_T *buf, int type));
void redrawWinline __ARGS((linenr_T lnum, int invalid));
void update_curbuf __ARGS((int type));
void update_screen __ARGS((int type));
+void update_single_line __ARGS((win_T *wp, linenr_T lnum));
void update_debug_sign __ARGS((buf_T *buf, linenr_T lnum));
void updateWindow __ARGS((win_T *wp));
void rl_mirror __ARGS((char_u *str));
@@ -46,6 +47,5 @@ void get_trans_bufname __ARGS((buf_T *buf));
int redrawing __ARGS((void));
int messaging __ARGS((void));
void showruler __ARGS((int always));
-void update_single_line __ARGS((win_T *buf, linenr_T lnum));
int number_width __ARGS((win_T *wp));
/* vim: set ft=c : */
diff --git a/src/proto/sha256.pro b/src/proto/sha256.pro
index 651a0a0afe..3c4d975d23 100644
--- a/src/proto/sha256.pro
+++ b/src/proto/sha256.pro
@@ -4,5 +4,5 @@ void sha256_update __ARGS((context_sha256_T *ctx, char_u *input, UINT32_T length
void sha256_finish __ARGS((context_sha256_T *ctx, char_u digest[32]));
char_u *sha256_key __ARGS((char_u *buf, char_u *salt, int salt_len));
int sha256_self_test __ARGS((void));
-void sha2_seed __ARGS((char_u header[], int header_len, char_u salt[], int salt_len));
+void sha2_seed __ARGS((char_u *header, int header_len, char_u *salt, int salt_len));
/* vim: set ft=c : */
diff --git a/src/proto/ui.pro b/src/proto/ui.pro
index b022baa55d..7b65680bf0 100644
--- a/src/proto/ui.pro
+++ b/src/proto/ui.pro
@@ -47,7 +47,7 @@ int check_col __ARGS((int col));
int check_row __ARGS((int row));
void open_app_context __ARGS((void));
void x11_setup_atoms __ARGS((Display *dpy));
-void x11_setup_selection __ARGS((Widget myShell));
+void x11_setup_selection __ARGS((Widget w));
void clip_x11_request_selection __ARGS((Widget myShell, Display *dpy, VimClipboard *cbd));
void clip_x11_lose_selection __ARGS((Widget myShell, VimClipboard *cbd));
int clip_x11_own_selection __ARGS((Widget myShell, VimClipboard *cbd));