summaryrefslogtreecommitdiff
path: root/libmudflap
diff options
context:
space:
mode:
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-31 20:04:53 +0000
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-31 20:04:53 +0000
commit5cc37f78fc80acf652f39eda447544378cf10369 (patch)
tree3df655e8b88b573d1f6c950447f98c50a816900f /libmudflap
parentf25d51c34b8ba7a003a459e6725d8d60d833649b (diff)
downloadgcc-5cc37f78fc80acf652f39eda447544378cf10369.tar.gz
2007-05-31 Frank Ch. Eigler <fche@redhat.com>
From Andi Kleen <ak@suse.de>: * mf-runtime.c (options): Rename structure for compatibility with glibc getopt_long. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125237 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap')
-rw-r--r--libmudflap/ChangeLog6
-rw-r--r--libmudflap/mf-runtime.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog
index c2d3efafbfd..cf70940edf3 100644
--- a/libmudflap/ChangeLog
+++ b/libmudflap/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-31 Frank Ch. Eigler <fche@redhat.com>
+
+ From Andi Kleen <ak@suse.de>:
+ * mf-runtime.c (options): Rename structure for compatibility with
+ glibc getopt_long.
+
2007-05-23 Steve Ellcey <sje@cup.hp.com>
* Makefile.in: Regenerate.
diff --git a/libmudflap/mf-runtime.c b/libmudflap/mf-runtime.c
index 8501cca6fee..93765ab4220 100644
--- a/libmudflap/mf-runtime.c
+++ b/libmudflap/mf-runtime.c
@@ -309,7 +309,7 @@ __mf_set_default_options ()
#endif
}
-static struct option
+static struct mudoption
{
char *name;
char *description;
@@ -440,7 +440,7 @@ options [] =
static void
__mf_usage ()
{
- struct option *opt;
+ struct mudoption *opt;
fprintf (stderr,
"This is a %s%sGCC \"mudflap\" memory-checked binary.\n"
@@ -514,7 +514,7 @@ __mf_set_options (const char *optstr)
int
__mfu_set_options (const char *optstr)
{
- struct option *opts = 0;
+ struct mudoption *opts = 0;
char *nxt = 0;
long tmp = 0;
int rc = 0;