diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-10-27 03:36:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-10-27 03:36:57 +0000 |
commit | 8e1ec1814837858382b7f605077bbb4117c9b26c (patch) | |
tree | 1c1d92bdcdd0212d58c84d6b26df873b935f40df /bfd/libbfd.h | |
parent | 7764f3fbb098728d90a9ee21b7cdcf3ff2acc25b (diff) | |
download | gdb-8e1ec1814837858382b7f605077bbb4117c9b26c.tar.gz |
* cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
(bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise.
* libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete.
* libbfd.h: Regenerate.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 91f6f8bdea3..ff1fde7a108 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -657,11 +657,6 @@ extern void _bfd_abort extern file_ptr real_ftell (FILE *file); extern int real_fseek (FILE *file, file_ptr offset, int whence); -FILE * bfd_cache_lookup_worker - (bfd *); - -extern bfd *bfd_last_cache; - /* List of supported target vectors, and the default vector (if bfd_default_vector[0] is NULL, there is no default). */ extern const bfd_target * const *bfd_target_vector; @@ -767,21 +762,12 @@ struct _bfd_window_internal { unsigned mapped : 1; /* 1 = mmap, 0 = malloc */ }; /* Extracted from cache.c. */ -#define BFD_CACHE_MAX_OPEN 10 -extern bfd *bfd_last_cache; - -#define bfd_cache_lookup(x) \ - ((x) == bfd_last_cache ? \ - (FILE *) (bfd_last_cache->iostream): \ - bfd_cache_lookup_worker (x)) bfd_boolean bfd_cache_init (bfd *abfd); bfd_boolean bfd_cache_close (bfd *abfd); FILE* bfd_open_file (bfd *abfd); -FILE *bfd_cache_lookup_worker (bfd *abfd); - /* Extracted from reloc.c. */ #ifdef _BFD_MAKE_TABLE_bfd_reloc_code_real |