@@ -135,21 +135,21 @@ typedef struct
135135 int ff ; /* seen form feed character */
136136} prt_pos_T ;
137137
138- static char_u * parse_list_options __ARGS (( char_u * option_str , option_table_T * table , int table_size ) );
138+ static char_u * parse_list_options ( char_u * option_str , option_table_T * table , int table_size );
139139
140140#ifdef FEAT_SYN_HL
141- static long_u darken_rgb __ARGS (( long_u rgb ) );
142- static long_u prt_get_term_color __ARGS (( int colorindex ) );
141+ static long_u darken_rgb ( long_u rgb );
142+ static long_u prt_get_term_color ( int colorindex );
143143#endif
144- static void prt_set_fg __ARGS (( long_u fg ) );
145- static void prt_set_bg __ARGS (( long_u bg ) );
146- static void prt_set_font __ARGS (( int bold , int italic , int underline ) );
147- static void prt_line_number __ARGS (( prt_settings_T * psettings , int page_line , linenr_T lnum ) );
148- static void prt_header __ARGS (( prt_settings_T * psettings , int pagenum , linenr_T lnum ) );
149- static void prt_message __ARGS (( char_u * s ) );
150- static colnr_T hardcopy_line __ARGS (( prt_settings_T * psettings , int page_line , prt_pos_T * ppos ) );
144+ static void prt_set_fg ( long_u fg );
145+ static void prt_set_bg ( long_u bg );
146+ static void prt_set_font ( int bold , int italic , int underline );
147+ static void prt_line_number ( prt_settings_T * psettings , int page_line , linenr_T lnum );
148+ static void prt_header ( prt_settings_T * psettings , int pagenum , linenr_T lnum );
149+ static void prt_message ( char_u * s );
150+ static colnr_T hardcopy_line ( prt_settings_T * psettings , int page_line , prt_pos_T * ppos );
151151#ifdef FEAT_SYN_HL
152- static void prt_get_attr __ARGS (( int hl_id , prt_text_attr_T * pattr , int modec ) );
152+ static void prt_get_attr ( int hl_id , prt_text_attr_T * pattr , int modec );
153153#endif
154154
155155/*
@@ -1337,47 +1337,47 @@ static struct prt_dsc_comment_S prt_dsc_table[] =
13371337 PRT_DSC_ENDCOMMENTS_TYPE }
13381338};
13391339
1340- static void prt_write_file_raw_len __ARGS (( char_u * buffer , int bytes ) );
1341- static void prt_write_file __ARGS (( char_u * buffer ) );
1342- static void prt_write_file_len __ARGS (( char_u * buffer , int bytes ) );
1343- static void prt_write_string __ARGS (( char * s ) );
1344- static void prt_write_int __ARGS (( int i ) );
1345- static void prt_write_boolean __ARGS (( int b ) );
1346- static void prt_def_font __ARGS (( char * new_name , char * encoding , int height , char * font ) );
1347- static void prt_real_bits __ARGS (( double real , int precision , int * pinteger , int * pfraction ) );
1348- static void prt_write_real __ARGS (( double val , int prec ) );
1349- static void prt_def_var __ARGS (( char * name , double value , int prec ) );
1350- static void prt_flush_buffer __ARGS (( void ) );
1351- static void prt_resource_name __ARGS (( char_u * filename , void * cookie ) );
1352- static int prt_find_resource __ARGS (( char * name , struct prt_ps_resource_S * resource ) );
1353- static int prt_open_resource __ARGS (( struct prt_ps_resource_S * resource ) );
1354- static int prt_check_resource __ARGS (( struct prt_ps_resource_S * resource , char_u * version ) );
1355- static void prt_dsc_start __ARGS (( void ) );
1356- static void prt_dsc_noarg __ARGS (( char * comment ) );
1357- static void prt_dsc_textline __ARGS (( char * comment , char * text ) );
1358- static void prt_dsc_text __ARGS (( char * comment , char * text ) );
1359- static void prt_dsc_ints __ARGS (( char * comment , int count , int * ints ) );
1360- static void prt_dsc_requirements __ARGS (( int duplex , int tumble , int collate , int color , int num_copies ) );
1361- static void prt_dsc_docmedia __ARGS (( char * paper_name , double width , double height , double weight , char * colour , char * type ) );
1362- static void prt_dsc_resources __ARGS (( char * comment , char * type , char * strings ) );
1363- static void prt_dsc_font_resource __ARGS (( char * resource , struct prt_ps_font_S * ps_font ) );
1364- static float to_device_units __ARGS (( int idx , double physsize , int def_number ) );
1365- static void prt_page_margins __ARGS (( double width , double height , double * left , double * right , double * top , double * bottom ) );
1366- static void prt_font_metrics __ARGS (( int font_scale ) );
1367- static int prt_get_cpl __ARGS (( void ) );
1368- static int prt_get_lpp __ARGS (( void ) );
1369- static int prt_add_resource __ARGS (( struct prt_ps_resource_S * resource ) );
1370- static int prt_resfile_next_line __ARGS (( void ) );
1371- static int prt_resfile_strncmp __ARGS (( int offset , char * string , int len ) );
1372- static int prt_resfile_skip_nonws __ARGS (( int offset ) );
1373- static int prt_resfile_skip_ws __ARGS (( int offset ) );
1374- static int prt_next_dsc __ARGS (( struct prt_dsc_line_S * p_dsc_line ) );
1340+ static void prt_write_file_raw_len ( char_u * buffer , int bytes );
1341+ static void prt_write_file ( char_u * buffer );
1342+ static void prt_write_file_len ( char_u * buffer , int bytes );
1343+ static void prt_write_string ( char * s );
1344+ static void prt_write_int ( int i );
1345+ static void prt_write_boolean ( int b );
1346+ static void prt_def_font ( char * new_name , char * encoding , int height , char * font );
1347+ static void prt_real_bits ( double real , int precision , int * pinteger , int * pfraction );
1348+ static void prt_write_real ( double val , int prec );
1349+ static void prt_def_var ( char * name , double value , int prec );
1350+ static void prt_flush_buffer ( void );
1351+ static void prt_resource_name ( char_u * filename , void * cookie );
1352+ static int prt_find_resource ( char * name , struct prt_ps_resource_S * resource );
1353+ static int prt_open_resource ( struct prt_ps_resource_S * resource );
1354+ static int prt_check_resource ( struct prt_ps_resource_S * resource , char_u * version );
1355+ static void prt_dsc_start ( void );
1356+ static void prt_dsc_noarg ( char * comment );
1357+ static void prt_dsc_textline ( char * comment , char * text );
1358+ static void prt_dsc_text ( char * comment , char * text );
1359+ static void prt_dsc_ints ( char * comment , int count , int * ints );
1360+ static void prt_dsc_requirements ( int duplex , int tumble , int collate , int color , int num_copies );
1361+ static void prt_dsc_docmedia ( char * paper_name , double width , double height , double weight , char * colour , char * type );
1362+ static void prt_dsc_resources ( char * comment , char * type , char * strings );
1363+ static void prt_dsc_font_resource ( char * resource , struct prt_ps_font_S * ps_font );
1364+ static float to_device_units ( int idx , double physsize , int def_number );
1365+ static void prt_page_margins ( double width , double height , double * left , double * right , double * top , double * bottom );
1366+ static void prt_font_metrics ( int font_scale );
1367+ static int prt_get_cpl ( void );
1368+ static int prt_get_lpp ( void );
1369+ static int prt_add_resource ( struct prt_ps_resource_S * resource );
1370+ static int prt_resfile_next_line ( void );
1371+ static int prt_resfile_strncmp ( int offset , char * string , int len );
1372+ static int prt_resfile_skip_nonws ( int offset );
1373+ static int prt_resfile_skip_ws ( int offset );
1374+ static int prt_next_dsc ( struct prt_dsc_line_S * p_dsc_line );
13751375#ifdef FEAT_MBYTE
1376- static int prt_build_cid_fontname __ARGS (( int font , char_u * name , int name_len ) );
1377- static void prt_def_cidfont __ARGS (( char * new_name , int height , char * cidfont ) );
1378- static void prt_dup_cidfont __ARGS (( char * original_name , char * new_name ) );
1379- static int prt_match_encoding __ARGS (( char * p_encoding , struct prt_ps_mbfont_S * p_cmap , struct prt_ps_encoding_S * * pp_mbenc ) );
1380- static int prt_match_charset __ARGS (( char * p_charset , struct prt_ps_mbfont_S * p_cmap , struct prt_ps_charset_S * * pp_mbchar ) );
1376+ static int prt_build_cid_fontname ( int font , char_u * name , int name_len );
1377+ static void prt_def_cidfont ( char * new_name , int height , char * cidfont );
1378+ static void prt_dup_cidfont ( char * original_name , char * new_name );
1379+ static int prt_match_encoding ( char * p_encoding , struct prt_ps_mbfont_S * p_cmap , struct prt_ps_encoding_S * * pp_mbenc );
1380+ static int prt_match_charset ( char * p_charset , struct prt_ps_mbfont_S * p_cmap , struct prt_ps_charset_S * * pp_mbchar );
13811381#endif
13821382
13831383/*
0 commit comments