From: Andreas Arnez <arnez@vnet.ibm.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] s390-nat.c: Fix missing prototypes
Date: Mon, 05 Mar 2012 17:39:00 -0000 [thread overview]
Message-ID: <8762ejrlqv.fsf@vnet.ibm.com> (raw)
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
next reply other threads:[~2012-03-05 17:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 17:39 Andreas Arnez [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762ejrlqv.fsf@vnet.ibm.com \
--to=arnez@vnet.ibm.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox