diff options
author | Jeff Law <law@redhat.com> | 1997-11-14 20:02:46 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-11-14 20:02:46 +0000 |
commit | e7f14399406655a939752a3ac88cca917342c1b7 (patch) | |
tree | 4f59d2ecb7cc8c54333563f8ef34c1e2a0f5fee2 /gdb/jv-exp.y | |
parent | f23e93dab0704098167aa45ef45243cc8df2fa42 (diff) | |
download | gdb-e7f14399406655a939752a3ac88cca917342c1b7.zip gdb-e7f14399406655a939752a3ac88cca917342c1b7.tar.gz gdb-e7f14399406655a939752a3ac88cca917342c1b7.tar.bz2 |
* jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes.
Diffstat (limited to 'gdb/jv-exp.y')
-rw-r--r-- | gdb/jv-exp.y | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y index 852b4d0..828a557 100644 --- a/gdb/jv-exp.y +++ b/gdb/jv-exp.y @@ -1406,7 +1406,9 @@ push_expression_name (name) into a freshly malloc'ed struct expression. Its language_defn is set to null. */ static struct expression * -copy_exp (struct expression *expr, int endpos) +copy_exp (expr, endpos) + struct expression *expr; + int endpos; { int len = length_of_subexp (expr, endpos); struct expression *new @@ -1420,8 +1422,9 @@ copy_exp (struct expression *expr, int endpos) /* Insert the expression NEW into the current expression (expout) at POS. */ static void -insert_exp (int pos, - struct expression *new) +insert_exp (pos, new) + int pos; + struct expression *new; { int newlen = new->nelts; |