summaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-06-07 22:53:32 +0000
committerMark Mitchell <mark@codesourcery.com>2005-06-07 22:53:32 +0000
commit1f0c7952c961172a437a8c89c3ac29499087ceb3 (patch)
tree1873bfafc88d844e046ecfbdff85f812a3bd4020 /bfd/bfd-in2.h
parent7d571cab4cab93930d537644e0197f6c1bd53cea (diff)
downloadgdb-1f0c7952c961172a437a8c89c3ac29499087ceb3.tar.gz
* opncls.c (bfd_fopen): New API.
(bfd_openr): Use it. (bfd_fdopenr): Likewise. * bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index ec1944091d7..739277c8fac 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -893,6 +893,9 @@ extern struct coff_comdat_info *bfd_coff_get_comdat_section
void bfd_init (void);
/* Extracted from opncls.c. */
+bfd *bfd_fopen (const char *filename, const char *target,
+ const char *mode, int fd);
+
bfd *bfd_openr (const char *filename, const char *target);
bfd *bfd_fdopenr (const char *filename, const char *target, int fd);