diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-07-01 10:11:11 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-07-01 10:11:11 +0000 |
commit | 19c1ef65d7309fbce692396866d54e7ede61e7dd (patch) | |
tree | 7a0e7c17558878d7d8468846030ab87cabf7914c /gdb/ada-exp.y | |
parent | cc83d33996dbcc01826c424664eed56a903545c6 (diff) | |
download | gdb-19c1ef65d7309fbce692396866d54e7ede61e7dd.zip gdb-19c1ef65d7309fbce692396866d54e7ede61e7dd.tar.gz gdb-19c1ef65d7309fbce692396866d54e7ede61e7dd.tar.bz2 |
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.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 5 |
1 files changed, 2 insertions, 3 deletions
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 <string.h> +#include "gdb_string.h" #include <ctype.h> #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 |