diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-02 11:24:02 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-02 11:24:02 -0300 |
commit | cab8cf970c09ea465d30e11eb356e2e5d37dc544 (patch) | |
tree | 5d274c892e4d53f5e976ae8f6f58aba030785e02 /src/nvim/memline.c | |
parent | 52a9a5b0b0c53a1481d901f39ed0d1e7e86c3853 (diff) | |
parent | 4aecb71b0e819aa84a430dacdab2146229c410a5 (diff) | |
download | rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.gz rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.tar.bz2 rneovim-cab8cf970c09ea465d30e11eb356e2e5d37dc544.zip |
Merge pull request #710 'Automatically generate declarations'
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 2526f9d98b..19c3cfe994 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -236,32 +236,9 @@ typedef enum { , UB_SAME_DIR /* update the B0_SAME_DIR flag */ } upd_block0_T; -static int ml_check_b0_id(ZERO_BL *b0p); -static void ml_upd_block0(buf_T *buf, upd_block0_T what); -static void set_b0_fname(ZERO_BL *, buf_T *buf); -static void set_b0_dir_flag(ZERO_BL *b0p, buf_T *buf); -static void add_b0_fenc(ZERO_BL *b0p, buf_T *buf); -static time_t swapfile_info(char_u *); -static int recov_file_names(char_u **, char_u *, int prepend_dot); -static int ml_append_int(buf_T *, linenr_T, char_u *, colnr_T, int, int); -static int ml_delete_int(buf_T *, linenr_T, int); -static char_u *findswapname(buf_T *, char_u **, char_u *); -static void ml_flush_line(buf_T *); -static bhdr_T *ml_new_data(memfile_T *, int, int); -static bhdr_T *ml_new_ptr(memfile_T *); -static bhdr_T *ml_find_line(buf_T *, linenr_T, int); -static int ml_add_stack(buf_T *); -static void ml_lineadd(buf_T *, int); -static int b0_magic_wrong(ZERO_BL *); -#ifdef CHECK_INODE -static int fnamecmp_ino(char_u *, char_u *, long); -#endif -static void long_to_char(long, char_u *); -static long char_to_long(char_u *); -#if defined(UNIX) || defined(WIN3264) -static char_u *make_percent_swname(char_u *dir, char_u *name); +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "memline.c.generated.h" #endif -static void ml_updatechunk(buf_T *buf, long line, long len, int updtype); /* * Open a new memline for "buf". @@ -3186,7 +3163,6 @@ get_file_in_dir ( return retval; } -static void attention_message(buf_T *buf, char_u *fname); /* * Print the ATTENTION message: info about an existing swap file. @@ -3237,7 +3213,6 @@ attention_message ( --no_wait_return; } -static int do_swapexists(buf_T *buf, char_u *fname); /* * Trigger the SwapExists autocommands. |