summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-07-04 16:00:04 +0000
committerbde <bde@FreeBSD.org>1999-07-04 16:00:04 +0000
commit7c7c72da3801ba6f43e728ff5145b4988674abeb (patch)
treef2820e1fa1538fafc5ed58d698fdec58cfa439bc
parent915ad17a17b7dc94fcab2b89c25b882cf282ea9a (diff)
downloadFreeBSD-src-7c7c72da3801ba6f43e728ff5145b4988674abeb.zip
FreeBSD-src-7c7c72da3801ba6f43e728ff5145b4988674abeb.tar.gz
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.
-rw-r--r--gnu/usr.bin/ld/warnings.c3
1 files changed, 2 insertions, 1 deletions
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 <sys/param.h>
@@ -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
OpenPOWER on IntegriCloud