sparseset.c: Include config.h and system.h before sparseset.h.
authorBernhard Fischer <aldot@gcc.gnu.org>
Wed, 5 Dec 2007 12:47:22 +0000 (13:47 +0100)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 5 Dec 2007 12:47:22 +0000 (13:47 +0100)
2007-11-27  Bernhard Fischer  <aldot@gcc.gnu.org>

* sparseset.c: Include config.h and system.h before sparseset.h.
* sparseset.h: Remove inclusion of system.h.

From-SVN: r130622

gcc/ChangeLog
gcc/sparseset.c
gcc/sparseset.h

index dee50272970646005460eed13791c5740fc48b03..2d86b259b2c667eef7be443dd2204be2b3e1bfaf 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-27  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * sparseset.c: Include config.h and system.h before sparseset.h.
+       * sparseset.h: Remove inclusion of system.h.
+
 2007-12-05  Jakub Jelinek  <jakub@redhat.com>
            Richard Sandiford  <rsandifo@nildram.co.uk>
 
index 8d7cd9373bdd6bc384d6498e854bb56565555d5a..f556c4dc05c6bb2b844afc0740f92b8ea1a559fd 100644 (file)
@@ -18,10 +18,10 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
-#include "libiberty.h"
+#include "config.h"
+#include "system.h"
 #include "sparseset.h"
 
-
 /* Allocate and clear a n_elms SparseSet.  */
 
 sparseset
index 96ee19acdd787fb2f2e06700a8420a91a0fa8c13..3554ef6b35c866b5d3c3efe0921f921e23906eb5 100644 (file)
@@ -21,7 +21,6 @@ along with GCC; see the file COPYING3.  If not see
 #ifndef GCC_SPARSESET_H
 #define GCC_SPARSESET_H
 
-#include "system.h"
 #include <assert.h>
 
 #define SPARSESET_ELT_BITS ((unsigned) HOST_BITS_PER_WIDEST_FAST_INT)
@@ -32,7 +31,7 @@ along with GCC; see the file COPYING3.  If not see
 typedef struct sparseset_def
 {
   SPARSESET_ELT_TYPE *dense;   /* Dense array.  */
-  SPARSESET_ELT_TYPE *sparse;  /* Sparse array.  */
+  SPARSESET_ELT_TYPE *sparse;  /* Sparse array.  */
   SPARSESET_ELT_TYPE members;  /* Number of elements.  */
   SPARSESET_ELT_TYPE size;     /* Maximum number of elements.  */
   SPARSESET_ELT_TYPE iter;     /* Iterator index.  */