This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove duplicate #include <signal.h>
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] Remove duplicate #include <signal.h>
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Wed, 7 Feb 2001 08:37:08 +0100
I really love this new "Obvious Fix Rule".
Anyway, after J.T.'s signals.h removal patch event-top.c included
signal.h twice. The attached patch (checked in) removes this duplication.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* event-top.c: Remove duplicate #include <signal.h>.
Index: event-top.c
===================================================================
RCS file: /cvs/src/src/gdb/event-top.c,v
retrieving revision 1.11
diff -u -p -r1.11 event-top.c
--- event-top.c 2001/02/06 04:17:03 1.11
+++ event-top.c 2001/02/07 07:26:50
@@ -35,8 +35,6 @@
#include <readline/readline.h>
#include <readline/history.h>
-#include <signal.h>
-
/* readline defines this. */
#undef savestring