aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-24 17:45:35 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-24 17:45:35 +0000
commit35a2f538853467c07523730de7306226c22aad14 (patch)
tree4eedf05ad6914e785625b2d76a3e2482c484bc9a /gdb
parentae02957b46bbe239f0c95e55b3daca67753feed5 (diff)
downloadgdb-35a2f538853467c07523730de7306226c22aad14.zip
gdb-35a2f538853467c07523730de7306226c22aad14.tar.gz
gdb-35a2f538853467c07523730de7306226c22aad14.tar.bz2
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/stabsread.c22
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 <kevinb@redhat.com>
+
+ * 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 <cagney@b1.cygnus.com>
* 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];