mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
240b189a32
commit
59b130b365
|
|
@ -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>
|
2007-12-05 Jakub Jelinek <jakub@redhat.com>
|
||||||
Richard Sandiford <rsandifo@nildram.co.uk>
|
Richard Sandiford <rsandifo@nildram.co.uk>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
along with GCC; see the file COPYING3. If not see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "libiberty.h"
|
#include "config.h"
|
||||||
|
#include "system.h"
|
||||||
#include "sparseset.h"
|
#include "sparseset.h"
|
||||||
|
|
||||||
|
|
||||||
/* Allocate and clear a n_elms SparseSet. */
|
/* Allocate and clear a n_elms SparseSet. */
|
||||||
|
|
||||||
sparseset
|
sparseset
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#ifndef GCC_SPARSESET_H
|
#ifndef GCC_SPARSESET_H
|
||||||
#define GCC_SPARSESET_H
|
#define GCC_SPARSESET_H
|
||||||
|
|
||||||
#include "system.h"
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#define SPARSESET_ELT_BITS ((unsigned) HOST_BITS_PER_WIDEST_FAST_INT)
|
#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
|
typedef struct sparseset_def
|
||||||
{
|
{
|
||||||
SPARSESET_ELT_TYPE *dense; /* Dense array. */
|
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 members; /* Number of elements. */
|
||||||
SPARSESET_ELT_TYPE size; /* Maximum number of elements. */
|
SPARSESET_ELT_TYPE size; /* Maximum number of elements. */
|
||||||
SPARSESET_ELT_TYPE iter; /* Iterator index. */
|
SPARSESET_ELT_TYPE iter; /* Iterator index. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue