summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-01-14 11:25:11 +0000
committerkib <kib@FreeBSD.org>2011-01-14 11:25:11 +0000
commita2a834c64db44ca8b4271b14d7ac850ca89e4a61 (patch)
tree7ac0aeed9987802b3ce26e022076ef33364eafc3 /contrib/binutils
parent469d0e8498ae027b2848f5d4b3bfa319507dffbf (diff)
downloadFreeBSD-src-a2a834c64db44ca8b4271b14d7ac850ca89e4a61.zip
FreeBSD-src-a2a834c64db44ca8b4271b14d7ac850ca89e4a61.tar.gz
Add a workaround for the warnings and sometimes errors due to missed
forward-declaration. Reviewed by: dim
Diffstat (limited to 'contrib/binutils')
-rw-r--r--contrib/binutils/ld/ldemul.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/binutils/ld/ldemul.h b/contrib/binutils/ld/ldemul.h
index 8feef67..8fbbaa2 100644
--- a/contrib/binutils/ld/ldemul.h
+++ b/contrib/binutils/ld/ldemul.h
@@ -17,6 +17,9 @@
#ifndef LDEMUL_H
#define LDEMUL_H
+/* Forward declaration for ldemul_add_options() and others. */
+struct option;
+
extern void ldemul_hll
(char *);
extern void ldemul_syslib
OpenPOWER on IntegriCloud