From c5ee9d00bf4068cc4814ad4153b772a154797b08 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 15 Apr 1996 17:17:19 +0000 Subject: [PATCH] * ch-exp.c (calculate_array_length): Fix prototype. So gdb will build with non-ansi compilers. --- gdb/ChangeLog | 4 ++++ gdb/ch-exp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0207d5f..bc32dee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com) + + * ch-exp.c (calculate_array_length): Fix prototype. + Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com) * remote-nindy.c (nindy_open): Acquire more target state so that 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] = { -- 2.7.4