aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-01-14 11:25:11 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-01-14 11:25:11 +0000
commitf1a143ca9668e5b249cb3884706c07a88d75ccf8 (patch)
tree7ac0aeed9987802b3ce26e022076ef33364eafc3 /contrib
parentc42c9d564632fc4cc1e6ec9746c2cba2e0a61d34 (diff)
downloadsrc-f1a143ca9668e5b249cb3884706c07a88d75ccf8.tar.gz
src-f1a143ca9668e5b249cb3884706c07a88d75ccf8.zip
Add a workaround for the warnings and sometimes errors due to missed
forward-declaration. Reviewed by: dim
Notes
Notes: svn path=/head/; revision=217394
Diffstat (limited to 'contrib')
-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 8feef6748c2d..8fbbaa2f8746 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