summaryrefslogtreecommitdiff
path: root/gcc/genpeep.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-16 01:03:54 -0800
committerYamaArashi <shadow962@live.com>2016-02-16 01:03:54 -0800
commitecae31d652106c1f3b7429570de013c3bbf33e7a (patch)
tree6981957216b10aad71c792714a25c5750611754e /gcc/genpeep.c
parent9382e1a90b218b4b93bf53c01ef163925cf224dc (diff)
get rid of PROTO macros
Diffstat (limited to 'gcc/genpeep.c')
-rwxr-xr-xgcc/genpeep.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index 91acc75..473ba70 100755
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -46,9 +46,9 @@ struct link
int vecelt;
};
-static void fatal PVPROTO ((const char *, ...))
+static void fatal (const char *, ...)
ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
-void fancy_abort PROTO((void)) ATTRIBUTE_NORETURN;
+void fancy_abort (void) ATTRIBUTE_NORETURN;
static int max_opno;
@@ -61,10 +61,10 @@ static int n_operands;
static int insn_code_number = 0;
-static void gen_peephole PROTO((rtx));
-static void match_rtx PROTO((rtx, struct link *, int));
-static void print_path PROTO((struct link *));
-static void print_code PROTO((RTX_CODE));
+static void gen_peephole (rtx);
+static void match_rtx (rtx, struct link *, int);
+static void print_path (struct link *);
+static void print_code (RTX_CODE);
static void
gen_peephole (peep)
@@ -411,7 +411,7 @@ xrealloc (old, size)
}
static void
-fatal VPROTO ((const char *format, ...))
+fatal (const char *format, ...)
{
#ifndef ANSI_PROTOTYPES
const char *format;