From 706b0f603fdb637e1a88e9bbeda1645caa1089c5 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sat, 5 Feb 2000 04:56:11 +0000 Subject: recog.h: Remove NO_MD_PROTOTYPES ifdefs. * recog.h: Remove NO_MD_PROTOTYPES ifdefs. * genflags.c: Use the max_operand_1 logic from genemit.c to calculate how many arguments gen_insn prototypes have. Remove NO_MD_PROTOTYPES ifdefs from the generated file. * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated file. Cast gen_insn initializers to insn_gen_fn. * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES. * gcc.texi: Remove documentation of NO_MD_PROTOTYPES. From-SVN: r31801 --- gcc/recog.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/recog.h') diff --git a/gcc/recog.h b/gcc/recog.h index a19e6a6..d9ca87a 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -190,11 +190,7 @@ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALT typedef int (*insn_operand_predicate_fn) PARAMS ((rtx, enum machine_mode)); typedef const char * (*insn_output_fn) PARAMS ((rtx *, rtx)); -#ifndef NO_MD_PROTOTYPES typedef rtx (*insn_gen_fn) PARAMS ((rtx, ...)); -#else -typedef rtx (*insn_gen_fn) (); -#endif struct insn_operand_data { -- cgit v1.1