From 59b130b365bbb85a040ee7e1de221cf4aedb691a Mon Sep 17 00:00:00 2001 From: Bernhard Fischer Date: Wed, 5 Dec 2007 13:47:22 +0100 Subject: [PATCH] sparseset.c: Include config.h and system.h before sparseset.h. 2007-11-27 Bernhard Fischer * sparseset.c: Include config.h and system.h before sparseset.h. * sparseset.h: Remove inclusion of system.h. From-SVN: r130622 --- gcc/ChangeLog | 5 +++++ gcc/sparseset.c | 4 ++-- gcc/sparseset.h | 3 +-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dee50272970..2d86b259b2c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-11-27 Bernhard Fischer + + * sparseset.c: Include config.h and system.h before sparseset.h. + * sparseset.h: Remove inclusion of system.h. + 2007-12-05 Jakub Jelinek Richard Sandiford diff --git a/gcc/sparseset.c b/gcc/sparseset.c index 8d7cd9373bd..f556c4dc05c 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 . */ -#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 96ee19acdd7..3554ef6b35c 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 #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. */