summaryrefslogtreecommitdiff
path: root/gcc/genflags.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-17 15:17:38 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-17 15:17:38 +0000
commit929efc7f759e1f5725c3e6349f92c28193d8f432 (patch)
treead52a60d44af346461f05b69d18ec55756d8ef53 /gcc/genflags.c
parent4c1cee834ea0d7d2ce988e6ac1215ec2331e9f28 (diff)
downloadgcc-929efc7f759e1f5725c3e6349f92c28193d8f432.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genflags.c')
-rw-r--r--gcc/genflags.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c
index 45cf4febbc5..f9add41640c 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -39,10 +39,10 @@ static struct obstack call_obstack, normal_obstack;
/* Max size of names encountered. */
static int max_id_len;
-static int num_operands PROTO((rtx));
-static void gen_proto PROTO((rtx));
-static void gen_nonproto PROTO((rtx));
-static void gen_insn PROTO((rtx));
+static int num_operands PARAMS ((rtx));
+static void gen_proto PARAMS ((rtx));
+static void gen_nonproto PARAMS ((rtx));
+static void gen_insn PARAMS ((rtx));
/* Count the number of match_operand's found. */
@@ -90,7 +90,7 @@ gen_proto (insn)
rtx insn;
{
int num = num_operands (insn);
- printf ("extern rtx gen_%-*s PROTO((", max_id_len, XSTR (insn, 0));
+ printf ("extern rtx gen_%-*s PARAMS ((", max_id_len, XSTR (insn, 0));
if (num == 0)
printf ("void");
@@ -195,7 +195,7 @@ xrealloc (old, size)
return ptr;
}
-extern int main PROTO ((int, char **));
+extern int main PARAMS ((int, char **));
int
main (argc, argv)