From 83d2b3b9dc691168719b0c77bc5c9a4d10e6384b Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 14 Jan 2000 00:46:57 +0000 Subject: cccp.c: PROTO -> PARAMS. * cccp.c: PROTO -> PARAMS. * cexp.y: Likewise. * collect2.c: Likewise. * combine.c: Likewise. * convert.h: Likewise. * cse.c: Likewise. * dbxout.c: Likewise. * dbxout.h: Likewise. * diagnostic.c: Likewise. * doprint.c: Likewise. * dwarf2out.c: Likewise. * dwarf2out.h: Likewise. * dwarfout.c: Likewise. * dwarfout.h: Likewise. * dyn-string.h: Likewise. From-SVN: r31399 --- gcc/cexp.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'gcc/cexp.c') diff --git a/gcc/cexp.c b/gcc/cexp.c index fc4d7fc..5770887 100644 --- a/gcc/cexp.c +++ b/gcc/cexp.c @@ -43,10 +43,10 @@ struct arglist { int argno; }; -HOST_WIDEST_INT parse_c_expression PROTO((char *, int)); +HOST_WIDEST_INT parse_c_expression PARAMS ((char *, int)); -static int yylex PROTO((void)); -static void yyerror PVPROTO((const char *, ...)) +static int yylex PARAMS ((void)); +static void yyerror PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; static HOST_WIDEST_INT expression_value; #ifdef TEST_EXP_READER @@ -129,18 +129,18 @@ extern int c89; struct constant; -HOST_WIDEST_INT parse_escape PROTO((char **, HOST_WIDEST_INT)); -int check_assertion PROTO((U_CHAR *, int, int, struct arglist *)); -struct hashnode *lookup PROTO((U_CHAR *, int, int)); -void error PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1; -void verror PROTO((const char *, va_list)); -void pedwarn PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1; -void warning PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1; +HOST_WIDEST_INT parse_escape PARAMS ((char **, HOST_WIDEST_INT)); +int check_assertion PARAMS ((U_CHAR *, int, int, struct arglist *)); +struct hashnode *lookup PARAMS ((U_CHAR *, int, int)); +void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; +void verror PARAMS ((const char *, va_list)); +void pedwarn PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; +void warning PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; -static int parse_number PROTO((int)); -static HOST_WIDEST_INT left_shift PROTO((struct constant *, unsigned HOST_WIDEST_INT)); -static HOST_WIDEST_INT right_shift PROTO((struct constant *, unsigned HOST_WIDEST_INT)); -static void integer_overflow PROTO((void)); +static int parse_number PARAMS ((int)); +static HOST_WIDEST_INT left_shift PARAMS ((struct constant *, unsigned HOST_WIDEST_INT)); +static HOST_WIDEST_INT right_shift PARAMS ((struct constant *, unsigned HOST_WIDEST_INT)); +static void integer_overflow PARAMS ((void)); /* `signedp' values */ #define SIGNED (~0) @@ -1919,7 +1919,7 @@ parse_c_expression (string, warn_undefined) } static void -yyerror VPROTO ((const char * msgid, ...)) +yyerror VPARAMS ((const char * msgid, ...)) { #ifndef ANSI_PROTOTYPES const char * msgid; @@ -1949,9 +1949,9 @@ int pedantic; int traditional; int c89; -int main PROTO((int, char **)); -static void initialize_random_junk PROTO((void)); -static void print_unsigned_host_widest_int PROTO((unsigned HOST_WIDEST_INT)); +int main PARAMS ((int, char **)); +static void initialize_random_junk PARAMS ((void)); +static void print_unsigned_host_widest_int PARAMS ((unsigned HOST_WIDEST_INT)); /* Main program for testing purposes. */ int @@ -2050,7 +2050,7 @@ initialize_random_junk () } void -error VPROTO ((char * msgid, ...)) +error VPARAMS ((char * msgid, ...)) { #ifndef ANSI_PROTOTYPES char * msgid; @@ -2070,7 +2070,7 @@ error VPROTO ((char * msgid, ...)) } void -pedwarn VPROTO ((char * msgid, ...)) +pedwarn VPARAMS ((char * msgid, ...)) { #ifndef ANSI_PROTOTYPES char * msgid; @@ -2090,7 +2090,7 @@ pedwarn VPROTO ((char * msgid, ...)) } void -warning VPROTO ((char * msgid, ...)) +warning VPARAMS ((char * msgid, ...)) { #ifndef ANSI_PROTOTYPES char * msgid; -- cgit v1.1