aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sparseset.c4
-rw-r--r--gcc/sparseset.h3
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dee5027..2d86b25 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/sparseset.c b/gcc/sparseset.c
index 8d7cd93..f556c4d 100644
--- a/gcc/sparseset.c
+++ b/gcc/sparseset.c
@@ -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
diff --git a/gcc/sparseset.h b/gcc/sparseset.h
index 96ee19a..3554ef6 100644
--- a/gcc/sparseset.h
+++ b/gcc/sparseset.h
@@ -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. */