* [pushed] Remove use of __CYGNUSCLIB__
@ 2021-09-13 23:53 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2021-09-13 23:53 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-13 23:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 23:53 [pushed] Remove use of __CYGNUSCLIB__ Tom Tromey
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).