diff options
author | Fred Fish <fnf@specifix.com> | 1995-08-05 01:13:26 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1995-08-05 01:13:26 +0000 |
commit | ef8e137ced71ff324c125fad845372a6961c75c4 (patch) | |
tree | c5b186332c99445d015a7623055d4f006bfcbe52 | |
parent | 81597186beae3dfdc73a16db02ac96a30222bf93 (diff) | |
download | gdb-ef8e137ced71ff324c125fad845372a6961c75c4.zip gdb-ef8e137ced71ff324c125fad845372a6961c75c4.tar.gz gdb-ef8e137ced71ff324c125fad845372a6961c75c4.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ch-exp.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y index f778b6a..f8e9717 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; |