From 19c1ef65d7309fbce692396866d54e7ede61e7dd Mon Sep 17 00:00:00 2001 From: "Paul N. Hilfinger" Date: Thu, 1 Jul 2004 10:11:11 +0000 Subject: Address complaints from gdb_ari.sh: * ada-exp.y: Include gdb_string.h rather than string.h. (convert_char_literal): Reformat declaration. * ada-lang.h: Include opaque struct declaration for struct frame_info. * ada-lex.l: Change use of free to xfree (the macro would do so anyway, but this is harmless). Include gdb_string.h rather than string.h. * ada-valprint.c (ada_val_print_stub): Change PTR => void*. * ada-lang.c (parse): Remove K&Rism in parameter list. (is_name_suffix): Correct Linux => GNU/Linux in comment. --- gdb/ada-exp.y | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gdb/ada-exp.y') diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 04a3950..a01eff4 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -38,7 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ %{ #include "defs.h" -#include +#include "gdb_string.h" #include #include "expression.h" #include "value.h" @@ -125,8 +125,7 @@ static void write_object_renaming (struct block *, struct symbol *, int); static void write_var_from_name (struct block *, struct name_info); -static LONGEST -convert_char_literal (struct type *, LONGEST); +static LONGEST convert_char_literal (struct type *, LONGEST); %} %union -- cgit v1.1