Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] sim: dv-cfi: include stdbool.h
@ 2011-07-11 19:50 Mike Frysinger
  2011-09-29  2:02 ` Mike Frysinger
  2011-10-17 16:57 ` Joel Brobecker
  0 siblings, 2 replies; 11+ messages in thread
From: Mike Frysinger @ 2011-07-11 19:50 UTC (permalink / raw)
  To: gdb-patches; +Cc: toolchain-devel

The dv-cfi code uses the bool type but doesn't include the stdbool.h
header.  I didn't notice for Blackfin targets as the core Blackfin
header will include stdbool.h, but most targets don't do this.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2011-07-11  Mike Frysinger  <vapier@gentoo.org>

	* dv-cfi.c: Include stdbool.h.
---
 sim/common/dv-cfi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sim/common/dv-cfi.c b/sim/common/dv-cfi.c
index 42d868c..a1ecaf9 100644
--- a/sim/common/dv-cfi.c
+++ b/sim/common/dv-cfi.c
@@ -27,6 +27,7 @@
 #include <math.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <stdbool.h>
 #include <unistd.h>
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
-- 
1.7.6


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-17 21:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 19:50 [PATCH] sim: dv-cfi: include stdbool.h Mike Frysinger
2011-09-29  2:02 ` Mike Frysinger
2011-10-10  2:42   ` Mike Frysinger
2011-10-17 16:57 ` Joel Brobecker
2011-10-17 17:08   ` Mike Frysinger
2011-10-17 17:28     ` Joel Brobecker
2011-10-17 20:27       ` Mike Frysinger
2011-10-17 20:54         ` Joel Brobecker
2011-10-17 20:58           ` Mike Frysinger
2011-10-17 21:11           ` Tom Tromey
2011-10-18  0:16             ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox