aboutsummaryrefslogtreecommitdiff
path: root/gcc/cexp.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-01-14 00:46:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-01-14 00:46:57 +0000
commit83d2b3b9dc691168719b0c77bc5c9a4d10e6384b (patch)
tree777969cebe29c86ba06933f784b922ec19ce6063 /gcc/cexp.c
parent57bed15271e83402b6d8d6647f6589718e70916d (diff)
downloadgcc-83d2b3b9dc691168719b0c77bc5c9a4d10e6384b.zip
gcc-83d2b3b9dc691168719b0c77bc5c9a4d10e6384b.tar.gz
gcc-83d2b3b9dc691168719b0c77bc5c9a4d10e6384b.tar.bz2
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
Diffstat (limited to 'gcc/cexp.c')
-rw-r--r--gcc/cexp.c42
1 files changed, 21 insertions, 21 deletions
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;