This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld/ldemul.h warning fix
- From: Ben Elliston <bje at gnu dot org>
- To: binutils at sources dot redhat dot com
- Date: 07 Dec 2004 23:28:45 +1100
- Subject: ld/ldemul.h warning fix
Committed as obvious--I hope! This silences another compiler warning.
Ben
2004-12-07 Ben Elliston <bje@gnu.org>
* ldemul.h: Forward declare struct option.
Index: ldemul.h
===================================================================
RCS file: /cvs/src/src/ld/ldemul.h,v
retrieving revision 1.12
diff -u -u -r1.12 ldemul.h
--- ldemul.h 28 Jun 2003 05:28:54 -0000 1.12
+++ ldemul.h 7 Dec 2004 12:27:29 -0000
@@ -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