This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Remove duplicate #include <signal.h>


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
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]