comparison src/ex_getln.c @ 356:0f2b5d1b8117

updated for version 7.0092
author vimboss
date Fri, 24 Jun 2005 23:07:47 +0000
parents 03b3684919e3
children 6c62b9b939bd
comparison
equal deleted inserted replaced
355:644578c9e219 356:0f2b5d1b8117
53 static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0}; 53 static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0};
54 /* identifying (unique) number of newest history entry */ 54 /* identifying (unique) number of newest history entry */
55 static int hislen = 0; /* actual length of history tables */ 55 static int hislen = 0; /* actual length of history tables */
56 56
57 static int hist_char2type __ARGS((int c)); 57 static int hist_char2type __ARGS((int c));
58 static void init_history __ARGS((void));
59 58
60 static int in_history __ARGS((int, char_u *, int)); 59 static int in_history __ARGS((int, char_u *, int));
61 # ifdef FEAT_EVAL 60 # ifdef FEAT_EVAL
62 static int calc_hist_idx __ARGS((int histype, int num)); 61 static int calc_hist_idx __ARGS((int histype, int num));
63 # endif 62 # endif
4421 4420
4422 /* 4421 /*
4423 * init_history() - Initialize the command line history. 4422 * init_history() - Initialize the command line history.
4424 * Also used to re-allocate the history when the size changes. 4423 * Also used to re-allocate the history when the size changes.
4425 */ 4424 */
4426 static void 4425 void
4427 init_history() 4426 init_history()
4428 { 4427 {
4429 int newlen; /* new length of history table */ 4428 int newlen; /* new length of history table */
4430 histentry_T *temp; 4429 histentry_T *temp;
4431 int i; 4430 int i;