diff options
author | Jeff Law <law@redhat.com> | 1996-04-15 17:17:19 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-04-15 17:17:19 +0000 |
commit | c5ee9d00bf4068cc4814ad4153b772a154797b08 (patch) | |
tree | 7e02c6af8ed78e88d43048a0b2c4b5ea449528e1 /gdb/ch-exp.c | |
parent | 7a15a226ada5d390e119d5b4e8eb376e2d5c3d8d (diff) | |
download | gdb-c5ee9d00bf4068cc4814ad4153b772a154797b08.zip gdb-c5ee9d00bf4068cc4814ad4153b772a154797b08.tar.gz gdb-c5ee9d00bf4068cc4814ad4153b772a154797b08.tar.bz2 |
* ch-exp.c (calculate_array_length): Fix prototype.
So gdb will build with non-ansi compilers.
Diffstat (limited to 'gdb/ch-exp.c')
-rw-r--r-- | gdb/ch-exp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c index 9771088..d03415b 100644 --- a/gdb/ch-exp.c +++ b/gdb/ch-exp.c @@ -138,7 +138,7 @@ static int parse_opt_untyped_expr (); static void parse_if_expression_body PARAMS((void)); static void write_lower_upper_value PARAMS ((enum exp_opcode, struct type *)); static enum ch_terminal ch_lex (); -static void calculate_array_length (struct type *); +static void calculate_array_length PARAMS ((struct type *)); #define MAX_LOOK_AHEAD 2 static enum ch_terminal terminal_buffer[MAX_LOOK_AHEAD+1] = { |