From f1a143ca9668e5b249cb3884706c07a88d75ccf8 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 14 Jan 2011 11:25:11 +0000 Subject: [PATCH] Add a workaround for the warnings and sometimes errors due to missed forward-declaration. Reviewed by: dim --- contrib/binutils/ld/ldemul.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/binutils/ld/ldemul.h b/contrib/binutils/ld/ldemul.h index 8feef6748c2..8fbbaa2f874 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