comparison src/ex_getln.c @ 14862:27b9a84395b5 v8.1.0443

patch 8.1.0443: unnecessary static function prototypes commit https://github.com/vim/vim/commit/6dff58f15cede9139b2fcfc64c9064326ea3d3b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 30 21:43:26 2018 +0200 patch 8.1.0443: unnecessary static function prototypes Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Sep 2018 21:45:07 +0200
parents 49b3bdf774ad
children 676db1b7fc35
comparison
equal deleted inserted replaced
14861:41fbdae837df 14862:27b9a84395b5
73 static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0}; 73 static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0};
74 /* identifying (unique) number of newest history entry */ 74 /* identifying (unique) number of newest history entry */
75 static int hislen = 0; /* actual length of history tables */ 75 static int hislen = 0; /* actual length of history tables */
76 76
77 static int hist_char2type(int c); 77 static int hist_char2type(int c);
78
79 static int in_history(int, char_u *, int, int, int);
80 # ifdef FEAT_EVAL
81 static int calc_hist_idx(int histype, int num);
82 # endif
83 #endif 78 #endif
84 79
85 #ifdef FEAT_RIGHTLEFT 80 #ifdef FEAT_RIGHTLEFT
86 static int cmd_hkmap = 0; /* Hebrew mapping during command line */ 81 static int cmd_hkmap = 0; /* Hebrew mapping during command line */
87 #endif 82 #endif
101 static int realloc_cmdbuff(int len); 96 static int realloc_cmdbuff(int len);
102 static void draw_cmdline(int start, int len); 97 static void draw_cmdline(int start, int len);
103 static void save_cmdline(struct cmdline_info *ccp); 98 static void save_cmdline(struct cmdline_info *ccp);
104 static void restore_cmdline(struct cmdline_info *ccp); 99 static void restore_cmdline(struct cmdline_info *ccp);
105 static int cmdline_paste(int regname, int literally, int remcr); 100 static int cmdline_paste(int regname, int literally, int remcr);
106 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
107 static void redrawcmd_preedit(void);
108 #endif
109 #ifdef FEAT_WILDMENU 101 #ifdef FEAT_WILDMENU
110 static void cmdline_del(int from); 102 static void cmdline_del(int from);
111 #endif 103 #endif
112 static void redrawcmdprompt(void); 104 static void redrawcmdprompt(void);
113 static void cursorcmd(void); 105 static void cursorcmd(void);
5047 /* 5039 /*
5048 * Cleanup matches for help tags: 5040 * Cleanup matches for help tags:
5049 * Remove "@ab" if the top of 'helplang' is "ab" and the language of the first 5041 * Remove "@ab" if the top of 'helplang' is "ab" and the language of the first
5050 * tag matches it. Otherwise remove "@en" if "en" is the only language. 5042 * tag matches it. Otherwise remove "@en" if "en" is the only language.
5051 */ 5043 */
5052 static void cleanup_help_tags(int num_file, char_u **file);
5053
5054 static void 5044 static void
5055 cleanup_help_tags(int num_file, char_u **file) 5045 cleanup_help_tags(int num_file, char_u **file)
5056 { 5046 {
5057 int i, j; 5047 int i, j;
5058 int len; 5048 int len;
6705 {NULL, NULL, NULL, NULL, NULL}; 6695 {NULL, NULL, NULL, NULL, NULL};
6706 static int viminfo_hisidx[HIST_COUNT] = {0, 0, 0, 0, 0}; 6696 static int viminfo_hisidx[HIST_COUNT] = {0, 0, 0, 0, 0};
6707 static int viminfo_hislen[HIST_COUNT] = {0, 0, 0, 0, 0}; 6697 static int viminfo_hislen[HIST_COUNT] = {0, 0, 0, 0, 0};
6708 static int viminfo_add_at_front = FALSE; 6698 static int viminfo_add_at_front = FALSE;
6709 6699
6710 static int hist_type2char(int type, int use_question);
6711
6712 /* 6700 /*
6713 * Translate a history type number to the associated character. 6701 * Translate a history type number to the associated character.
6714 */ 6702 */
6715 static int 6703 static int
6716 hist_type2char( 6704 hist_type2char(