From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [patch] drop unused sys/ioctl.h include from some gdbtk files
Date: Fri, 27 Jul 2007 15:14:00 -0000 [thread overview]
Message-ID: <200707271115.04373.vapier@gentoo.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 164 bytes --]
a few files in gdb/gdbtk/generic/ pull in sys/ioctl.h for no reason (that i
can tell). they arent actually using ioctl() and this breaks my mingw build.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
[-- Attachment #2: gdb-gdbtk-no-sys-ioctl.patch --]
[-- Type: text/x-diff, Size: 1620 bytes --]
2007-07-26 Mike Frysinger <vapier@gentoo.org>
* generic/gdbtk-cmds.c (sys/ioctl.h): Remove include.
* generic/gdbtk-hooks.c (sys/ioctl.h): Likewise.
* generic/gdbtk.c (sys/ioctl.h): Likewise.
Index: gdb/gdbtk/generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.97
diff -u -p -r1.97 gdbtk-cmds.c
--- gdb/gdbtk/generic/gdbtk-cmds.c 21 Jun 2007 15:18:51 -0000 1.97
+++ gdb/gdbtk/generic/gdbtk-cmds.c 26 Jul 2007 08:57:01 -0000
@@ -57,7 +57,6 @@
#include <signal.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/stat.h>
Index: gdb/gdbtk/generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.41
diff -u -p -r1.41 gdbtk-hooks.c
--- gdb/gdbtk/generic/gdbtk-hooks.c 23 Dec 2005 18:23:16 -0000 1.41
+++ gdb/gdbtk/generic/gdbtk-hooks.c 26 Jul 2007 08:57:01 -0000
@@ -51,7 +51,6 @@
#include <signal.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
#include <sys/time.h>
#include "gdb_string.h"
Index: gdb/gdbtk/generic/gdbtk.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk.c,v
retrieving revision 1.45
diff -u -p -r1.45 gdbtk.c
--- gdb/gdbtk/generic/gdbtk.c 1 Dec 2006 02:09:24 -0000 1.45
+++ gdb/gdbtk/generic/gdbtk.c 26 Jul 2007 08:57:01 -0000
@@ -49,7 +49,6 @@
#include <fcntl.h>
#include <sys/stat.h>
-#include <sys/ioctl.h>
#include <sys/time.h>
#include <signal.h>
next reply other threads:[~2007-07-27 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 15:14 Mike Frysinger [this message]
2007-07-27 15:46 ` Daniel Jacobowitz
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=200707271115.04373.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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