* 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.
This commit is contained in:
Fred Fish 1995-08-05 01:13:26 +00:00
parent 81597186be
commit ef8e137ced
1 changed files with 4 additions and 1 deletions

View File

@ -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;