aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-10 23:51:35 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-10 23:51:35 +0000
commit69ebee8678d423ef9b0eb88e0f74f998d3dc258c (patch)
tree0abe990af39f0d4664e40ed63616f6dcc5f5ceee /bfd/libbfd.h
parented9c0d48e0c7b822ab384e8d29d18ff60e7fd3ff (diff)
downloadgdb-69ebee8678d423ef9b0eb88e0f74f998d3dc258c.zip
gdb-69ebee8678d423ef9b0eb88e0f74f998d3dc258c.tar.gz
gdb-69ebee8678d423ef9b0eb88e0f74f998d3dc258c.tar.bz2
Split up a.out handlers into generic and target-specific.
Remove close_and_cleanup. Lint.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 19589c8..8949689 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -115,9 +115,12 @@ PROTO (boolean, _bfd_dummy_core_file_matches_executable_p, (bfd *core_bfd,
bfd *exec_bfd));
PROTO (bfd_target *, _bfd_dummy_target, (bfd *abfd));
-PROTO (void, bfd_dont_truncate_arname, (bfd *abfd, char *filename, char *hdr));
-PROTO (void, bfd_bsd_truncate_arname, (bfd *abfd, char *filename, char *hdr));
-PROTO (void, bfd_gnu_truncate_arname, (bfd *abfd, char *filename, char *hdr));
+PROTO (void, bfd_dont_truncate_arname, (bfd *abfd, CONST char *filename,
+ char *hdr));
+PROTO (void, bfd_bsd_truncate_arname, (bfd *abfd, CONST char *filename,
+ char *hdr));
+PROTO (void, bfd_gnu_truncate_arname, (bfd *abfd, CONST char *filename,
+ char *hdr));
PROTO (boolean, bsd_write_armap, (bfd *arch, unsigned int elength,
struct orl *map, int orl_count, int stridx));
@@ -166,3 +169,6 @@ extern bfd *bfd_last_cache;
#define itos(x) ((char*)(x))
#define stoi(x) ((int)(x))
#endif
+
+/* Generic routine for close_and_cleanup is really just bfd_true. */
+#define bfd_generic_close_and_cleanup bfd_true