From: Fred Fish Date: Sat, 5 Aug 1995 01:13:26 +0000 (+0000) Subject: * ch-exp.y (write_lower_upper_value): Add prototype so bison X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef8e137ced71ff324c125fad845372a6961c75c4;p=binutils-gdb.git * ch-exp.y (write_lower_upper_value): Add prototype so bison generated parser will insert prototype before first func usage. Bison and byacc order the output sections differently. Also make function static. --- diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y index f778b6ac924..f8e9717ce9e 100644 --- a/gdb/ch-exp.y +++ b/gdb/ch-exp.y @@ -115,6 +115,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define YYDEBUG 0 /* Default to no yydebug support */ #endif +static void +write_lower_upper_value PARAMS ((enum exp_opcode, struct type *type)); + int yyparse PARAMS ((void)); @@ -1781,7 +1784,7 @@ yylex () return (ILLEGAL_TOKEN); } -void +static void write_lower_upper_value (opcode, type) enum exp_opcode opcode; /* Either UNOP_LOWER or UNOP_UPPER */ struct type *type;