diff options
Diffstat (limited to 'gcc/fixinc/fixlib.h')
| -rw-r--r-- | gcc/fixinc/fixlib.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/gcc/fixinc/fixlib.h b/gcc/fixinc/fixlib.h index 47229717c1f..11d8fb5c705 100644 --- a/gcc/fixinc/fixlib.h +++ b/gcc/fixinc/fixlib.h @@ -79,6 +79,7 @@ typedef int t_success; #define NULLPROCESS ((pid_t)0) #define EXIT_PANIC 99 +#endif /* NOPROCESS */ #ifndef HAVE_T_BOOL_ENUM #define HAVE_T_BOOL_ENUM @@ -93,9 +94,6 @@ typedef int apply_fix_p_t; /* Apply Fix Predicate Type */ #define APPLY_FIX 0 #define SKIP_FIX 1 -#define _P_(p) () -#endif - #define ENV_TABLE \ _ENV_( pz_machine, BOOL_TRUE, "TARGET_MACHINE", \ "output from config.guess" ) \ @@ -194,25 +192,31 @@ extern int gnu_type_map_ct; /* * Exported procedures */ -char * load_file_data _P_(( FILE* fp )); +char * load_file_data PARAMS(( FILE* fp )); + #ifdef IS_CXX_HEADER_NEEDED -t_bool is_cxx_header _P_(( tCC* filename, tCC* filetext )); +t_bool is_cxx_header PARAMS(( tCC* filename, tCC* filetext )); #endif /* IS_CXX_HEADER_NEEDED */ + #ifdef SKIP_QUOTE_NEEDED -tCC* skip_quote _P_(( char q, char* text )); +tCC* skip_quote PARAMS(( char q, char* text )); #endif -void compile_re _P_(( tCC* pat, regex_t* re, int match, - tCC *e1, tCC *e2 )); -void apply_fix _P_(( tFixDesc* p_fixd, tCC* filname )); -apply_fix_p_t run_test _P_((tCC* t_name, tCC* f_name, tCC* text )); +void compile_re PARAMS(( tCC* pat, regex_t* re, int match, + tCC *e1, tCC *e2 )); + +void apply_fix PARAMS(( tFixDesc* p_fixd, tCC* filname )); +apply_fix_p_t + run_test PARAMS(( tCC* t_name, tCC* f_name, tCC* text )); #ifdef __MSDOS__ -char* make_raw_shell_str _P_(( char* pz_d, tCC* pz_s, size_t smax )); +char* make_raw_shell_str + PARAMS(( char* pz_d, tCC* pz_s, size_t smax )); #endif #ifdef MN_NAME_PAT -void mn_get_regexps _P_(( regex_t** label_re, regex_t** name_re, - tCC *who )); +void mn_get_regexps + PARAMS(( regex_t** label_re, regex_t** name_re, + tCC *who )); #endif #endif /* FIXINCLUDES_FIXLIB_H */ |

