Protoization.

This commit is contained in:
Kevin Buettner 2000-11-08 05:10:18 +00:00
parent 698cb3f077
commit ed37ab2087
3 changed files with 9 additions and 10 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;

View File

@ -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;