From 7c7c72da3801ba6f43e728ff5145b4988674abeb Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 4 Jul 1999 16:00:04 +0000 Subject: Fixed missing prototype for address_to_line(). One call passes an int where an unsigned long is expected. This was fatal on i386's with 64-bit longs. --- gnu/usr.bin/ld/warnings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/ld/warnings.c b/gnu/usr.bin/ld/warnings.c index ceb303a..4dfd1a2 100644 --- a/gnu/usr.bin/ld/warnings.c +++ b/gnu/usr.bin/ld/warnings.c @@ -30,7 +30,7 @@ Set, indirect, and warning symbol features added by Randy Smith. */ /* - * $Id: warnings.c,v 1.15 1997/02/22 15:46:27 peter Exp $ + * $Id: warnings.c,v 1.16 1998/06/30 20:48:39 bde Exp $ */ #include @@ -231,6 +231,7 @@ static int list_multiple_defs; /* List multiple definitions */ static struct line_debug_entry *init_debug_scan __P((int, struct file_entry *)); static int next_debug_entry __P((int, struct line_debug_entry *)); +static int address_to_line __P((unsigned long, struct line_debug_entry *)); /* * Structure for communication between do_file_warnings and it's -- cgit v1.1