public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tom@tromey.com>
Subject: [pushed] Remove use of __CYGNUSCLIB__
Date: Mon, 13 Sep 2021 17:53:37 -0600	[thread overview]
Message-ID: <20210913235337.3024886-1-tom@tromey.com> (raw)

I found a check of __CYGNUSCLIB__ in dbxread.c.  I think this is dead
code.  This patch removes it.
---
 gdb/dbxread.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index cf35880b509..4d846990a56 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -31,10 +31,6 @@
    for real.  dbx_psymtab_to_symtab() is the function that does this */
 
 #include "defs.h"
-#if defined(__CYGNUSCLIB__)
-#include <sys/types.h>
-#include <fcntl.h>
-#endif
 
 #include "gdb_obstack.h"
 #include <sys/stat.h>
-- 
2.31.1


                 reply	other threads:[~2021-09-13 23:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210913235337.3024886-1-tom@tromey.com \
    --to=tom@tromey.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).