From: Andreas Schwab Date: Fri, 29 Aug 1997 15:02:03 +0000 (+0000) Subject: expr.h (insn_gen_function): Reenable prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eae4b970345f9aaf42b778445e50fbf37e0f45dd;p=gcc.git expr.h (insn_gen_function): Reenable prototype. * expr.h (insn_gen_function): Reenable prototype. * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of first parameter. From-SVN: r14994 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33fec6b96dd..a42a5d5556c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +1997-08-27 Andreas Schwab + + * expr.h (insn_gen_function): Reenable prototype. + + * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of + first parameter. + Thu Aug 28 13:01:43 1997 Jim Wilson * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic. diff --git a/gcc/expr.c b/gcc/expr.c index 6937437bbaf..7a9c4702ca7 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -159,10 +159,10 @@ static int queued_subexp_p PROTO((rtx)); static void init_queue PROTO((void)); static void move_by_pieces PROTO((rtx, rtx, int, int)); static int move_by_pieces_ninsns PROTO((unsigned int, int)); -static void move_by_pieces_1 PROTO((rtx (*) (), enum machine_mode, +static void move_by_pieces_1 PROTO((rtx (*) (rtx, ...), enum machine_mode, struct move_by_pieces *)); static void clear_by_pieces PROTO((rtx, int, int)); -static void clear_by_pieces_1 PROTO((rtx (*) (), enum machine_mode, +static void clear_by_pieces_1 PROTO((rtx (*) (rtx, ...), enum machine_mode, struct clear_by_pieces *)); static int is_zeros_p PROTO((tree)); static int mostly_zeros_p PROTO((tree)); @@ -1504,7 +1504,7 @@ move_by_pieces_ninsns (l, align) static void move_by_pieces_1 (genfun, mode, data) - rtx (*genfun) (); + rtx (*genfun) PROTO ((rtx, ...)); enum machine_mode mode; struct move_by_pieces *data; { @@ -2020,7 +2020,7 @@ clear_by_pieces (to, len, align) static void clear_by_pieces_1 (genfun, mode, data) - rtx (*genfun) (); + rtx (*genfun) PROTO ((rtx, ...)); enum machine_mode mode; struct clear_by_pieces *data; { diff --git a/gcc/expr.h b/gcc/expr.h index 624b965245a..fa7b7edd81c 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -315,7 +315,7 @@ typedef struct optab #define GEN_FCN(CODE) (*insn_gen_function[(int) (CODE)]) #endif -extern rtx (*const insn_gen_function[]) (); +extern rtx (*const insn_gen_function[]) PROTO ((rtx, ...)); extern optab add_optab; extern optab sub_optab;