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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to