@@ -3088,75 +3088,75 @@ static char *(p_fcl_values[]) = {"all", NULL};
3088
3088
static char * (p_cot_values []) = {"menu" , "menuone" , "longest" , "preview" , "noinsert" , "noselect" , NULL };
3089
3089
#endif
3090
3090
3091
- static void set_option_default __ARGS (( int , int opt_flags , int compatible ) );
3092
- static void set_options_default __ARGS (( int opt_flags ) );
3093
- static char_u * term_bg_default __ARGS (( void ) );
3094
- static void did_set_option __ARGS (( int opt_idx , int opt_flags , int new_value ) );
3095
- static char_u * illegal_char __ARGS (( char_u * , int ) );
3096
- static int string_to_key __ARGS (( char_u * arg ) );
3091
+ static void set_option_default ( int , int opt_flags , int compatible );
3092
+ static void set_options_default ( int opt_flags );
3093
+ static char_u * term_bg_default ( void );
3094
+ static void did_set_option ( int opt_idx , int opt_flags , int new_value );
3095
+ static char_u * illegal_char ( char_u * , int );
3096
+ static int string_to_key ( char_u * arg );
3097
3097
#ifdef FEAT_CMDWIN
3098
- static char_u * check_cedit __ARGS (( void ) );
3098
+ static char_u * check_cedit ( void );
3099
3099
#endif
3100
3100
#ifdef FEAT_TITLE
3101
- static void did_set_title __ARGS (( int icon ) );
3101
+ static void did_set_title ( int icon );
3102
3102
#endif
3103
- static char_u * option_expand __ARGS (( int opt_idx , char_u * val ) );
3104
- static void didset_options __ARGS (( void ) );
3105
- static void didset_options2 __ARGS (( void ) );
3106
- static void check_string_option __ARGS (( char_u * * pp ) );
3103
+ static char_u * option_expand ( int opt_idx , char_u * val );
3104
+ static void didset_options ( void );
3105
+ static void didset_options2 ( void );
3106
+ static void check_string_option ( char_u * * pp );
3107
3107
#if defined(FEAT_EVAL ) || defined(PROTO )
3108
- static long_u * insecure_flag __ARGS (( int opt_idx , int opt_flags ) );
3108
+ static long_u * insecure_flag ( int opt_idx , int opt_flags );
3109
3109
#else
3110
3110
# define insecure_flag (opt_idx , opt_flags ) (&options[opt_idx].flags)
3111
3111
#endif
3112
- static void set_string_option_global __ARGS (( int opt_idx , char_u * * varp ) );
3113
- static char_u * set_string_option __ARGS (( int opt_idx , char_u * value , int opt_flags ) );
3114
- static char_u * did_set_string_option __ARGS (( int opt_idx , char_u * * varp , int new_value_alloced , char_u * oldval , char_u * errbuf , int opt_flags ) );
3115
- static char_u * set_chars_option __ARGS (( char_u * * varp ) );
3112
+ static void set_string_option_global ( int opt_idx , char_u * * varp );
3113
+ static char_u * set_string_option ( int opt_idx , char_u * value , int opt_flags );
3114
+ static char_u * did_set_string_option ( int opt_idx , char_u * * varp , int new_value_alloced , char_u * oldval , char_u * errbuf , int opt_flags );
3115
+ static char_u * set_chars_option ( char_u * * varp );
3116
3116
#ifdef FEAT_SYN_HL
3117
- static int int_cmp __ARGS (( const void * a , const void * b ) );
3117
+ static int int_cmp ( const void * a , const void * b );
3118
3118
#endif
3119
3119
#ifdef FEAT_CLIPBOARD
3120
- static char_u * check_clipboard_option __ARGS (( void ) );
3120
+ static char_u * check_clipboard_option ( void );
3121
3121
#endif
3122
3122
#ifdef FEAT_SPELL
3123
- static char_u * did_set_spell_option __ARGS (( int is_spellfile ) );
3124
- static char_u * compile_cap_prog __ARGS (( synblock_T * synblock ) );
3123
+ static char_u * did_set_spell_option ( int is_spellfile );
3124
+ static char_u * compile_cap_prog ( synblock_T * synblock );
3125
3125
#endif
3126
3126
#ifdef FEAT_EVAL
3127
- static void set_option_scriptID_idx __ARGS (( int opt_idx , int opt_flags , int id ) );
3128
- #endif
3129
- static char_u * set_bool_option __ARGS (( int opt_idx , char_u * varp , int value , int opt_flags ) );
3130
- static char_u * set_num_option __ARGS (( int opt_idx , char_u * varp , long value , char_u * errbuf , size_t errbuflen , int opt_flags ) );
3131
- static void check_redraw __ARGS (( long_u flags ) );
3132
- static int findoption __ARGS (( char_u * ) );
3133
- static int find_key_option __ARGS (( char_u * ) );
3134
- static void showoptions __ARGS (( int all , int opt_flags ) );
3135
- static int optval_default __ARGS (( struct vimoption * , char_u * varp ) );
3136
- static void showoneopt __ARGS (( struct vimoption * , int opt_flags ) );
3137
- static int put_setstring __ARGS (( FILE * fd , char * cmd , char * name , char_u * * valuep , int expand ) );
3138
- static int put_setnum __ARGS (( FILE * fd , char * cmd , char * name , long * valuep ) );
3139
- static int put_setbool __ARGS (( FILE * fd , char * cmd , char * name , int value ) );
3140
- static int istermoption __ARGS (( struct vimoption * ) );
3141
- static char_u * get_varp_scope __ARGS (( struct vimoption * p , int opt_flags ) );
3142
- static char_u * get_varp __ARGS (( struct vimoption * ) );
3143
- static void option_value2string __ARGS (( struct vimoption * , int opt_flags ) );
3144
- static void check_winopt __ARGS (( winopt_T * wop ) );
3145
- static int wc_use_keyname __ARGS (( char_u * varp , long * wcp ) );
3127
+ static void set_option_scriptID_idx ( int opt_idx , int opt_flags , int id );
3128
+ #endif
3129
+ static char_u * set_bool_option ( int opt_idx , char_u * varp , int value , int opt_flags );
3130
+ static char_u * set_num_option ( int opt_idx , char_u * varp , long value , char_u * errbuf , size_t errbuflen , int opt_flags );
3131
+ static void check_redraw ( long_u flags );
3132
+ static int findoption ( char_u * );
3133
+ static int find_key_option ( char_u * );
3134
+ static void showoptions ( int all , int opt_flags );
3135
+ static int optval_default ( struct vimoption * , char_u * varp );
3136
+ static void showoneopt ( struct vimoption * , int opt_flags );
3137
+ static int put_setstring ( FILE * fd , char * cmd , char * name , char_u * * valuep , int expand );
3138
+ static int put_setnum ( FILE * fd , char * cmd , char * name , long * valuep );
3139
+ static int put_setbool ( FILE * fd , char * cmd , char * name , int value );
3140
+ static int istermoption ( struct vimoption * );
3141
+ static char_u * get_varp_scope ( struct vimoption * p , int opt_flags );
3142
+ static char_u * get_varp ( struct vimoption * );
3143
+ static void option_value2string ( struct vimoption * , int opt_flags );
3144
+ static void check_winopt ( winopt_T * wop );
3145
+ static int wc_use_keyname ( char_u * varp , long * wcp );
3146
3146
#ifdef FEAT_LANGMAP
3147
- static void langmap_init __ARGS (( void ) );
3148
- static void langmap_set __ARGS (( void ) );
3147
+ static void langmap_init ( void );
3148
+ static void langmap_set ( void );
3149
3149
#endif
3150
- static void paste_option_changed __ARGS (( void ) );
3151
- static void compatible_set __ARGS (( void ) );
3150
+ static void paste_option_changed ( void );
3151
+ static void compatible_set ( void );
3152
3152
#ifdef FEAT_LINEBREAK
3153
- static void fill_breakat_flags __ARGS (( void ) );
3153
+ static void fill_breakat_flags ( void );
3154
3154
#endif
3155
- static int opt_strings_flags __ARGS (( char_u * val , char * * values , unsigned * flagp , int list ) );
3156
- static int check_opt_strings __ARGS (( char_u * val , char * * values , int ) );
3157
- static int check_opt_wim __ARGS (( void ) );
3155
+ static int opt_strings_flags ( char_u * val , char * * values , unsigned * flagp , int list );
3156
+ static int check_opt_strings ( char_u * val , char * * values , int );
3157
+ static int check_opt_wim ( void );
3158
3158
#ifdef FEAT_LINEBREAK
3159
- static int briopt_check __ARGS (( win_T * wp ) );
3159
+ static int briopt_check ( win_T * wp );
3160
3160
#endif
3161
3161
3162
3162
/*
@@ -4085,7 +4085,7 @@ set_helplang_default(lang)
4085
4085
#endif
4086
4086
4087
4087
#ifdef FEAT_GUI
4088
- static char_u * gui_bg_default __ARGS (( void ) );
4088
+ static char_u * gui_bg_default ( void );
4089
4089
4090
4090
static char_u *
4091
4091
gui_bg_default ()
@@ -5656,7 +5656,7 @@ insecure_flag(opt_idx, opt_flags)
5656
5656
#endif
5657
5657
5658
5658
#ifdef FEAT_TITLE
5659
- static void redraw_titles __ARGS (( void ) );
5659
+ static void redraw_titles ( void );
5660
5660
5661
5661
/*
5662
5662
* Redraw the window title and/or tab page text later.
@@ -11486,7 +11486,7 @@ typedef struct
11486
11486
} langmap_entry_T ;
11487
11487
11488
11488
static garray_T langmap_mapga ;
11489
- static void langmap_set_entry __ARGS (( int from , int to ) );
11489
+ static void langmap_set_entry ( int from , int to );
11490
11490
11491
11491
/*
11492
11492
* Search for an entry in "langmap_mapga" for "from". If found set the "to"
0 commit comments