aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-02-28 23:43:35 +0000
committerAlan Modra <amodra@gmail.com>2003-02-28 23:43:35 +0000
commit2ce40c65db7c95a61c1df4dad7b21b545e5dcc5b (patch)
tree6dca8a45a2601185de3eacea3fe369a0194e6e97 /bfd/bfd-in2.h
parentc30b8939c6605dcfbad5ac804303cb98a67e6897 (diff)
downloadgdb-2ce40c65db7c95a61c1df4dad7b21b545e5dcc5b.zip
gdb-2ce40c65db7c95a61c1df4dad7b21b545e5dcc5b.tar.gz
gdb-2ce40c65db7c95a61c1df4dad7b21b545e5dcc5b.tar.bz2
* bfd-in.h (_bfd): Don't define.
* bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". * syms.c: Likewise. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 46d8aab..2385c40 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -77,9 +77,6 @@ extern "C" {
/* Forward declaration. */
typedef struct bfd bfd;
-/* For backward compatibility. Keep code that was using "struct
- _bfd" working. */
-#define _bfd bfd
/* Boolean type used in bfd. Too many systems define their own
versions of "boolean" for us to safely typedef a "boolean" of
@@ -3448,7 +3445,7 @@ typedef struct symbol_cache_entry
instead, except that some symbols point to the global sections
bfd_{abs,com,und}_section. This could be fixed by making
these globals be per-bfd (or per-target-flavor). FIXME. */
- struct _bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */
+ struct bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */
/* The text of the symbol. The name is left alone, and not copied; the
application may not alter it. */
@@ -3640,7 +3637,7 @@ struct bfd
/* The caching routines use these to maintain a
least-recently-used list of BFDs. */
- struct _bfd *lru_prev, *lru_next;
+ struct bfd *lru_prev, *lru_next;
/* When a file is closed by the caching routines, BFD retains
state information on the file here... */
@@ -3714,13 +3711,13 @@ struct bfd
/* Stuff only useful for archives. */
PTR arelt_data;
- struct _bfd *my_archive; /* The containing archive BFD. */
- struct _bfd *next; /* The next BFD in the archive. */
- struct _bfd *archive_head; /* The first BFD in the archive. */
+ struct bfd *my_archive; /* The containing archive BFD. */
+ struct bfd *next; /* The next BFD in the archive. */
+ struct bfd *archive_head; /* The first BFD in the archive. */
bfd_boolean has_armap;
/* A chain of BFD structures involved in a link. */
- struct _bfd *link_next;
+ struct bfd *link_next;
/* A field used by _bfd_generic_link_add_archive_symbols. This will
be used only for archive elements. */