Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] s390-nat.c: Fix missing prototypes
@ 2012-03-05 17:39 Andreas Arnez
  2012-03-05 19:07 ` Joel Brobecker
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Arnez @ 2012-03-05 17:39 UTC (permalink / raw)
  To: gdb-patches

Fix missing prototypes for supply_gregset and friends in "s390-nat.c".

Tested on s390x-ibm-linux with no regressions, fixes a
-Wmissing-prototypes build failure.

gdb/
2012-03-05  Andreas Arnez  <arnez@linux.vnet.ibm.com>

	* s390-nat.c: Include "gregset.h".

---

diff --git a/gdb/s390-nat.c b/gdb/s390-nat.c
index 2755e58..aff967e 100644
--- a/gdb/s390-nat.c
+++ b/gdb/s390-nat.c
@@ -37,6 +37,9 @@
 #include <sys/ucontext.h>
 #include <elf.h>
 
+/* Prototypes for supply_gregset etc.  */
+#include "gregset.h"
+
 #ifndef HWCAP_S390_HIGH_GPRS
 #define HWCAP_S390_HIGH_GPRS 512
 #endif


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

end of thread, other threads:[~2012-03-06 17:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 17:39 [PATCH] s390-nat.c: Fix missing prototypes Andreas Arnez
2012-03-05 19:07 ` Joel Brobecker
2012-03-06  9:49   ` Andreas Arnez
2012-03-06 10:26     ` Pedro Alves
2012-03-06 11:35       ` Andreas Arnez
2012-03-06 11:52         ` Pedro Alves
2012-03-06 12:15           ` Andreas Arnez
2012-03-06 16:30             ` Joel Brobecker
2012-03-06 17:18               ` Pedro Alves

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