diff options
author | Aidan Skinner <aidan@velvet.net> | 2002-09-08 17:44:22 +0000 |
---|---|---|
committer | Aidan Skinner <aidan@velvet.net> | 2002-09-08 17:44:22 +0000 |
commit | cf9875dbf11f357fa715bda8ac4e393b110acdc3 (patch) | |
tree | d99ca2ecb573ac6c4e72bfa91d03199402fa5d38 /gdb/ada-lang.c | |
parent | 7d7d0746c0211b28e3958362a5dc810f2d610dad (diff) | |
download | gdb-cf9875dbf11f357fa715bda8ac4e393b110acdc3.tar.gz |
* ada-lang.c (ada_array_bound, ada_type_match,
_initialize_ada_language): Fix K&R definitions.
* ada-tasks.c (get_current_task): Fix K&R definitions.
* ada-valprint.c (adjust_type_signedness): Fix K&R definitions.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index c58d46338ea..2838df7e68c 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -1852,10 +1852,7 @@ ada_array_bound_from_type (struct type * arr_type, int n, int which, supplied by run-time quantities other than discriminants. */ struct value * -ada_array_bound (arr, n, which) - struct value *arr; - int n; - int which; +ada_array_bound (struct value *arr, int n, int which) { struct type *arr_type = VALUE_TYPE (arr); @@ -2334,10 +2331,7 @@ ada_resolve_subexp (struct expression **expp, int *pos, int deprocedure_p, liberal. FIXME: TOO liberal, in fact. */ static int -ada_type_match (ftype, atype, may_deref) - struct type *ftype; - struct type *atype; - int may_deref; +ada_type_match (struct type *ftype, struct type *atype, int may_deref) { CHECK_TYPEDEF (ftype); CHECK_TYPEDEF (atype); @@ -8104,7 +8098,7 @@ const struct language_defn ada_language_defn = { }; void -_initialize_ada_language () +_initialize_ada_language (void) { builtin_type_ada_int = init_type (TYPE_CODE_INT, TARGET_INT_BIT / TARGET_CHAR_BIT, |