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]
Other format: [Raw text]

Re: [PATCH] Re-order includes in defs.h


   Date: Fri, 27 Sep 2002 17:57:13 -0400
   From: Andrew Cagney <ac131313@redhat.com>

   > Index: ChangeLog
   > from  Mark Kettenis  <kettenis@gnu.org>
   > 
   > 	* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
   > 	Fix some whitespace problems.

   Um, where is the gdb_locale.h part of the change?

Ouch...

...here it is.  I checked this in on top of the other patch.

Index: defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.98
diff -u -p -r1.98 defs.h
--- defs.h 27 Sep 2002 21:31:22 -0000 1.98
+++ defs.h 27 Sep 2002 22:04:39 -0000
@@ -40,6 +40,11 @@
 #include <unistd.h>
 #endif
 
+/* First include ansidecl.h so we can use the various macro definitions
+   here and in all subsequent file inclusions.  */
+
+#include "ansidecl.h"
+
 #include "gdb_locale.h"
 
 /* For ``enum target_signal''.  */
@@ -53,11 +58,6 @@
 #ifndef SEEK_CUR
 #define SEEK_CUR 1
 #endif
-
-/* First include ansidecl.h so we can use the various macro definitions
-   here and in all subsequent file inclusions.  */
-
-#include "ansidecl.h"
 
 #include <stdarg.h>		/* For va_list.  */
 


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