diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-11-08 05:10:18 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-11-08 05:10:18 +0000 |
commit | ed37ab208733ab2b1c8a81f6776a5893ce17503c (patch) | |
tree | 1cf0ac58cf98c818a03a4b4fb45bb14da203fd43 /gdb | |
parent | 698cb3f0770b0679b79f5b6e1e85fa7576700c64 (diff) | |
download | gdb-ed37ab208733ab2b1c8a81f6776a5893ce17503c.zip gdb-ed37ab208733ab2b1c8a81f6776a5893ce17503c.tar.gz gdb-ed37ab208733ab2b1c8a81f6776a5893ce17503c.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/valops.c | 5 | ||||
-rw-r--r-- | gdb/valprint.c | 9 |
3 files changed, 9 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef1ff14..43b8fc1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2000-11-07 Kevin Buettner <kevinb@redhat.com> + * valops.c (typecmp): Protoize. + * valprint.c (strcat_longest): Protoize. + +2000-11-07 Kevin Buettner <kevinb@redhat.com> + * ia64-tdep.c (native_find_global_pointer): New global variable. (struct gdbarch_tdep): Add member find_global_pointer. (ia64_gdbarch_init): Initialize find_global_pointer member. Also, diff --git a/gdb/valops.c b/gdb/valops.c index 7feec53..9183984 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1937,10 +1937,7 @@ value_bitstring (char *ptr, int len) requested operation is type secure, shouldn't we? FIXME. */ static int -typecmp (staticp, t1, t2) - int staticp; - struct type *t1[]; - value_ptr t2[]; +typecmp (int staticp, struct type *t1[], value_ptr t2[]) { int i; diff --git a/gdb/valprint.c b/gdb/valprint.c index 1ca46be..0432bf2 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -414,13 +414,10 @@ print_longest (struct ui_file *stream, int format, int use_local, #if 0 void -strcat_longest (format, use_local, val_long, buf, buflen) - int format; - int use_local; - LONGEST val_long; - char *buf; - int buflen; /* ignored, for now */ +strcat_longest (int format, int use_local, LONGEST val_long, char *buf, + int buflen) { +/* FIXME: Use buflen to avoid buffer overflow. */ #if defined (CC_HAS_LONG_LONG) && !defined (PRINTF_HAS_LONG_LONG) long vtop, vbot; |