@@ -66,11 +66,11 @@ static int hisnum[HIST_COUNT] = {0, 0, 0, 0, 0};
6666 /* identifying (unique) number of newest history entry */
6767static int hislen = 0 ; /* actual length of history tables */
6868
69- static int hist_char2type __ARGS (( int c ) );
69+ static int hist_char2type ( int c );
7070
71- static int in_history __ARGS (( int , char_u * , int , int , int ) );
71+ static int in_history ( int , char_u * , int , int , int );
7272# ifdef FEAT_EVAL
73- static int calc_hist_idx __ARGS (( int histype , int num ) );
73+ static int calc_hist_idx ( int histype , int num );
7474# endif
7575#endif
7676
@@ -82,58 +82,58 @@ static int cmd_hkmap = 0; /* Hebrew mapping during command line */
8282static int cmd_fkmap = 0 ; /* Farsi mapping during command line */
8383#endif
8484
85- static int cmdline_charsize __ARGS (( int idx ) );
86- static void set_cmdspos __ARGS (( void ) );
87- static void set_cmdspos_cursor __ARGS (( void ) );
85+ static int cmdline_charsize ( int idx );
86+ static void set_cmdspos ( void );
87+ static void set_cmdspos_cursor ( void );
8888#ifdef FEAT_MBYTE
89- static void correct_cmdspos __ARGS (( int idx , int cells ) );
90- #endif
91- static void alloc_cmdbuff __ARGS (( int len ) );
92- static int realloc_cmdbuff __ARGS (( int len ) );
93- static void draw_cmdline __ARGS (( int start , int len ) );
94- static void save_cmdline __ARGS (( struct cmdline_info * ccp ) );
95- static void restore_cmdline __ARGS (( struct cmdline_info * ccp ) );
96- static int cmdline_paste __ARGS (( int regname , int literally , int remcr ) );
89+ static void correct_cmdspos ( int idx , int cells );
90+ #endif
91+ static void alloc_cmdbuff ( int len );
92+ static int realloc_cmdbuff ( int len );
93+ static void draw_cmdline ( int start , int len );
94+ static void save_cmdline ( struct cmdline_info * ccp );
95+ static void restore_cmdline ( struct cmdline_info * ccp );
96+ static int cmdline_paste ( int regname , int literally , int remcr );
9797#if defined(FEAT_XIM ) && defined(FEAT_GUI_GTK )
98- static void redrawcmd_preedit __ARGS (( void ) );
98+ static void redrawcmd_preedit ( void );
9999#endif
100100#ifdef FEAT_WILDMENU
101- static void cmdline_del __ARGS (( int from ) );
102- #endif
103- static void redrawcmdprompt __ARGS (( void ) );
104- static void cursorcmd __ARGS (( void ) );
105- static int ccheck_abbr __ARGS (( int ) );
106- static int nextwild __ARGS (( expand_T * xp , int type , int options , int escape ) );
107- static void escape_fname __ARGS (( char_u * * pp ) );
108- static int showmatches __ARGS (( expand_T * xp , int wildmenu ) );
109- static void set_expand_context __ARGS (( expand_T * xp ) );
110- static int ExpandFromContext __ARGS (( expand_T * xp , char_u * , int * , char_u * * * , int ) );
111- static int expand_showtail __ARGS (( expand_T * xp ) );
101+ static void cmdline_del ( int from );
102+ #endif
103+ static void redrawcmdprompt ( void );
104+ static void cursorcmd ( void );
105+ static int ccheck_abbr ( int );
106+ static int nextwild ( expand_T * xp , int type , int options , int escape );
107+ static void escape_fname ( char_u * * pp );
108+ static int showmatches ( expand_T * xp , int wildmenu );
109+ static void set_expand_context ( expand_T * xp );
110+ static int ExpandFromContext ( expand_T * xp , char_u * , int * , char_u * * * , int );
111+ static int expand_showtail ( expand_T * xp );
112112#ifdef FEAT_CMDL_COMPL
113- static int expand_shellcmd __ARGS (( char_u * filepat , int * num_file , char_u * * * file , int flagsarg ) );
114- static int ExpandRTDir __ARGS (( char_u * pat , int * num_file , char_u * * * file , char * dirname [ ]) );
113+ static int expand_shellcmd ( char_u * filepat , int * num_file , char_u * * * file , int flagsarg );
114+ static int ExpandRTDir ( char_u * pat , int * num_file , char_u * * * file , char * dirname []);
115115# ifdef FEAT_CMDHIST
116- static char_u * get_history_arg __ARGS (( expand_T * xp , int idx ) );
116+ static char_u * get_history_arg ( expand_T * xp , int idx );
117117# endif
118118# if defined(FEAT_USR_CMDS ) && defined(FEAT_EVAL )
119- static int ExpandUserDefined __ARGS (( expand_T * xp , regmatch_T * regmatch , int * num_file , char_u * * * file ) );
120- static int ExpandUserList __ARGS (( expand_T * xp , int * num_file , char_u * * * file ) );
119+ static int ExpandUserDefined ( expand_T * xp , regmatch_T * regmatch , int * num_file , char_u * * * file );
120+ static int ExpandUserList ( expand_T * xp , int * num_file , char_u * * * file );
121121# endif
122122#endif
123123#ifdef FEAT_CMDHIST
124- static void clear_hist_entry __ARGS (( histentry_T * hisptr ) );
124+ static void clear_hist_entry ( histentry_T * hisptr );
125125#endif
126126
127127#ifdef FEAT_CMDWIN
128- static int ex_window __ARGS (( void ) );
128+ static int ex_window ( void );
129129#endif
130130
131131#if defined(FEAT_CMDL_COMPL ) || defined(PROTO )
132132static int
133133#ifdef __BORLANDC__
134134_RTLENTRYF
135135#endif
136- sort_func_compare __ARGS ( ( const void * s1 , const void * s2 ) );
136+ sort_func_compare ( const void * s1 , const void * s2 );
137137#endif
138138
139139/*
@@ -4530,7 +4530,7 @@ expand_cmdline(xp, str, col, matchcount, matches)
45304530/*
45314531 * Cleanup matches for help tags: remove "@en" if "en" is the only language.
45324532 */
4533- static void cleanup_help_tags __ARGS (( int num_file , char_u * * file ) );
4533+ static void cleanup_help_tags ( int num_file , char_u * * file );
45344534
45354535 static void
45364536cleanup_help_tags (num_file , file )
@@ -5009,15 +5009,15 @@ expand_shellcmd(filepat, num_file, file, flagsarg)
50095009
50105010
50115011# if defined(FEAT_USR_CMDS ) && defined(FEAT_EVAL )
5012- static void * call_user_expand_func __ARGS (( void * (* user_expand_func ) __ARGS (( char_u * , int , char_u * * , int )) , expand_T * xp , int * num_file , char_u * * * file ) );
5012+ static void * call_user_expand_func ( void * (* user_expand_func )( char_u * , int , char_u * * , int ), expand_T * xp , int * num_file , char_u * * * file );
50135013
50145014/*
50155015 * Call "user_expand_func()" to invoke a user defined VimL function and return
50165016 * the result (either a string or a List).
50175017 */
50185018 static void *
50195019call_user_expand_func (user_expand_func , xp , num_file , file )
5020- void * (* user_expand_func ) __ARGS (( char_u * , int , char_u * * , int ) );
5020+ void * (* user_expand_func )( char_u * , int , char_u * * , int );
50215021 expand_T * xp ;
50225022 int * num_file ;
50235023 char_u * * * file ;
@@ -5610,7 +5610,7 @@ get_history_idx(histype)
56105610 return history [histype ][hisidx [histype ]].hisnum ;
56115611}
56125612
5613- static struct cmdline_info * get_ccline_ptr __ARGS (( void ) );
5613+ static struct cmdline_info * get_ccline_ptr ( void );
56145614
56155615/*
56165616 * Get pointer to the command line info to use. cmdline_paste() may clear
@@ -6066,7 +6066,7 @@ static int viminfo_hisidx[HIST_COUNT] = {0, 0, 0, 0};
60666066static int viminfo_hislen [HIST_COUNT ] = {0 , 0 , 0 , 0 };
60676067static int viminfo_add_at_front = FALSE;
60686068
6069- static int hist_type2char __ARGS (( int type , int use_question ) );
6069+ static int hist_type2char ( int type , int use_question );
60706070
60716071/*
60726072 * Translate a history type number to the associated character.
0 commit comments