diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-01-17 15:17:38 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-01-17 15:17:38 +0000 |
commit | a94ae8f5dd6e7b921a0169c0471d6a38d49cdca9 (patch) | |
tree | ad52a60d44af346461f05b69d18ec55756d8ef53 /gcc/gengenrtl.c | |
parent | 3b0d91ff929f16828833bb2fe336a2ba458ebf65 (diff) | |
download | gcc-a94ae8f5dd6e7b921a0169c0471d6a38d49cdca9.tar.gz |
genattr.c: PROTO -> PARAMS.
* genattr.c: PROTO -> PARAMS.
* genattrtab.c: Likewise.
* gencheck.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* gengenrtl.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
From-SVN: r31457
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r-- | gcc/gengenrtl.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index 778ef9b5414..6653857cff3 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -88,17 +88,17 @@ struct rtx_definition defs[] = const char *formats[NUM_RTX_CODE]; -static const char *type_from_format PROTO((int)); -static const char *accessor_from_format PROTO((int)); -static int special_format PROTO((const char *)); -static int special_rtx PROTO((int)); -static void find_formats PROTO((void)); -static void gendecl PROTO((const char *)); -static void genmacro PROTO((int)); -static void gendef PROTO((const char *)); -static void genlegend PROTO((void)); -static void genheader PROTO((void)); -static void gencode PROTO((void)); +static const char *type_from_format PARAMS ((int)); +static const char *accessor_from_format PARAMS ((int)); +static int special_format PARAMS ((const char *)); +static int special_rtx PARAMS ((int)); +static void find_formats PARAMS ((void)); +static void gendecl PARAMS ((const char *)); +static void genmacro PARAMS ((int)); +static void gendef PARAMS ((const char *)); +static void genlegend PARAMS ((void)); +static void genheader PARAMS ((void)); +static void gencode PARAMS ((void)); /* Decode a format letter into a C type string. */ @@ -224,7 +224,7 @@ gendecl (format) const char *p; int i, pos; - printf ("extern rtx gen_rtx_fmt_%s\tPROTO((RTX_CODE, ", format); + printf ("extern rtx gen_rtx_fmt_%s\tPARAMS ((RTX_CODE, ", format); printf ("enum machine_mode mode"); /* Write each parameter that is needed and start a new line when the line @@ -359,7 +359,7 @@ gencode () puts ("#include \"rtl.h\"\n"); puts ("#include \"ggc.h\"\n\n"); puts ("extern struct obstack *rtl_obstack;\n\n"); - puts ("static rtx obstack_alloc_rtx PROTO((int length));\n"); + puts ("static rtx obstack_alloc_rtx PARAMS ((int length));\n"); puts ("static rtx obstack_alloc_rtx (length)\n"); puts (" register int length;\n{\n"); puts (" rtx rt = (rtx) obstack_alloc (rtl_obstack, length);\n\n"); @@ -391,7 +391,7 @@ xmalloc (nbytes) /* This is the main program. We accept only one argument, "-h", which says we are writing the genrtl.h file. Otherwise we are writing the genrtl.c file. */ -extern int main PROTO ((int, char **)); +extern int main PARAMS ((int, char **)); int main (argc, argv) |