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/valprint.c | |
parent | 698cb3f0770b0679b79f5b6e1e85fa7576700c64 (diff) | |
download | gdb-ed37ab208733ab2b1c8a81f6776a5893ce17503c.zip gdb-ed37ab208733ab2b1c8a81f6776a5893ce17503c.tar.gz gdb-ed37ab208733ab2b1c8a81f6776a5893ce17503c.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r-- | gdb/valprint.c | 9 |
1 files changed, 3 insertions, 6 deletions
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; |