summaryrefslogtreecommitdiff
path: root/gcc/sbitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sbitmap.h')
-rw-r--r--gcc/sbitmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h
index 9a0852a670b..0dc9567f580 100644
--- a/gcc/sbitmap.h
+++ b/gcc/sbitmap.h
@@ -126,7 +126,7 @@ bitmap_clear_bit (sbitmap map, int bitno)
}
/* The iterator for sbitmap. */
-typedef struct {
+struct sbitmap_iterator {
/* The pointer to the first word of the bitmap. */
const SBITMAP_ELT_TYPE *ptr;
@@ -141,7 +141,7 @@ typedef struct {
/* The words currently visited. */
SBITMAP_ELT_TYPE word;
-} sbitmap_iterator;
+};
/* Initialize the iterator I with sbitmap BMP and the initial index
MIN. */