sparseset.c: Include config.h and system.h before sparseset.h.

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
This commit is contained in:
Bernhard Fischer 2007-12-05 13:47:22 +01:00 committed by Bernhard Reutner-Fischer
parent 240b189a32
commit 59b130b365
3 changed files with 8 additions and 4 deletions

View 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>

View 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

View 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. */