diff options
Diffstat (limited to 'gdb/guile/scm-block.c')
-rw-r--r-- | gdb/guile/scm-block.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/guile/scm-block.c b/gdb/guile/scm-block.c index 813c6c1..1a898fa 100644 --- a/gdb/guile/scm-block.c +++ b/gdb/guile/scm-block.c @@ -30,7 +30,7 @@ /* A smob describing a gdb block. */ -typedef struct _block_smob +struct block_smob { /* This always appears first. We want blocks to be eq?-able. And we need to be able to invalidate @@ -44,7 +44,7 @@ typedef struct _block_smob between a block and an object file. When a block is created also store a pointer to the object file for later use. */ struct objfile *objfile; -} block_smob; +}; /* To iterate over block symbols from Scheme we need to store struct block_iterator somewhere. This is stored in the "progress" field @@ -54,7 +54,7 @@ typedef struct _block_smob Remember: While iterating over block symbols, you must continually check whether the block is still valid. */ -typedef struct +struct block_syms_progress_smob { /* This always appears first. */ gdb_smob base; @@ -64,7 +64,7 @@ typedef struct /* Has the iterator been initialized flag. */ int initialized_p; -} block_syms_progress_smob; +}; static const char block_smob_name[] = "gdb:block"; static const char block_syms_progress_smob_name[] = "gdb:block-symbols-iterator"; |