From: Roland Schwingel <roland@onevision.com>
To: insight@sourceware.org
Subject: [PATCH] Add missing prototype in gdbtk.c
Date: Mon, 19 Mar 2012 12:10:00 -0000 [thread overview]
Message-ID: <4F67221F.2020906@onevision.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
Hi...
In gdbtk.c there is a protoype missing for the windows only function
close_bfds(). This is required due to recently enabled
-Wmissing-prototype compilation.
Changelog:
2012-03-19 Roland Schwingel <roland.schwingel@onevision.com>
* generic/gdbtk.c: Add prototype for close_bfds().
Any comments? Is this ok?
Roland
[-- Attachment #2: missing_prototype_gdbtk.c.patch --]
[-- Type: text/plain, Size: 518 bytes --]
Index: //subnet-homes/Entwicklung/User/roland/local/gdb/head/source/gdb/gdbtk/generic/gdbtk.c
===================================================================
--- //subnet-homes/Entwicklung/User/roland/local/gdb/head/source/gdb/gdbtk/generic/gdbtk.c (revision 115571)
+++ //subnet-homes/Entwicklung/User/roland/local/gdb/head/source/gdb/gdbtk/generic/gdbtk.c (working copy)
@@ -165,6 +165,8 @@
* this will cost us if and when we need to reopen it.
*/
+extern void close_bfds (void);
+
void
close_bfds ()
{
next reply other threads:[~2012-03-19 12:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 12:10 Roland Schwingel [this message]
2012-03-29 23:02 ` Keith Seitz
2012-03-30 13:03 ` Pierre Muller
2012-03-30 13:10 ` Keith Seitz
2012-03-30 13:32 ` Pierre Muller
2012-03-30 13:36 Roland Schwingel
2012-03-30 13:48 Roland Schwingel
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=4F67221F.2020906@onevision.com \
--to=roland@onevision.com \
--cc=insight@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).