svn commit: r217394 - head/contrib/binutils/ld

Konstantin Belousov kib at FreeBSD.org
Fri Jan 14 11:25:11 UTC 2011


Author: kib
Date: Fri Jan 14 11:25:11 2011
New Revision: 217394
URL: http://svn.freebsd.org/changeset/base/217394

Log:
  Add a workaround for the warnings and sometimes errors due to missed
  forward-declaration.
  
  Reviewed by:	dim

Modified:
  head/contrib/binutils/ld/ldemul.h

Modified: head/contrib/binutils/ld/ldemul.h
==============================================================================
--- head/contrib/binutils/ld/ldemul.h	Fri Jan 14 11:23:39 2011	(r217393)
+++ head/contrib/binutils/ld/ldemul.h	Fri Jan 14 11:25:11 2011	(r217394)
@@ -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


More information about the svn-src-all mailing list