From 35a2f538853467c07523730de7306226c22aad14 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Tue, 24 Oct 2000 17:45:35 +0000 Subject: Protoization. --- gdb/ChangeLog | 6 ++++++ gdb/stabsread.c | 22 +++++----------------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0897ed..b093093 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2000-10-24 Kevin Buettner + + * stabsread.c (dbx_lookup_type, dbx_alloc_type, + read_sun_builtin_type, read_sun_floating_type, + read_range_type): Protoize. + Wed Oct 25 01:19:26 2000 Andrew Cagney * solib.c (open_symbol_file_object): Update function signature to diff --git a/gdb/stabsread.c b/gdb/stabsread.c index beaed00..7c374af 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -290,8 +290,7 @@ os9k_init_type_vector (struct type **tv) or for associating a new type with the pair. */ struct type ** -dbx_lookup_type (typenums) - int typenums[2]; +dbx_lookup_type (int typenums[2]) { register int filenum = typenums[0]; register int index = typenums[1]; @@ -398,9 +397,7 @@ Invalid symbol data: type number (%d,%d) out of range at symtab pos %d.", put into the type vector, and so may not be referred to by number. */ static struct type * -dbx_alloc_type (typenums, objfile) - int typenums[2]; - struct objfile *objfile; +dbx_alloc_type (int typenums[2], struct objfile *objfile) { register struct type **type_addr; @@ -4270,10 +4267,7 @@ read_enum_type (register char **pp, register struct type *type, FIXME. */ static struct type * -read_sun_builtin_type (pp, typenums, objfile) - char **pp; - int typenums[2]; - struct objfile *objfile; +read_sun_builtin_type (char **pp, int typenums[2], struct objfile *objfile) { int type_bits; int nbits; @@ -4345,10 +4339,7 @@ read_sun_builtin_type (pp, typenums, objfile) } static struct type * -read_sun_floating_type (pp, typenums, objfile) - char **pp; - int typenums[2]; - struct objfile *objfile; +read_sun_floating_type (char **pp, int typenums[2], struct objfile *objfile) { int nbits; int details; @@ -4489,10 +4480,7 @@ read_huge_number (char **pp, int end, int *bits) } static struct type * -read_range_type (pp, typenums, objfile) - char **pp; - int typenums[2]; - struct objfile *objfile; +read_range_type (char **pp, int typenums[2], struct objfile *objfile) { char *orig_pp = *pp; int rangenums[2]; -- cgit v1.1