diff options
author | Steve Chamberlain <steve@cygnus> | 1991-04-15 15:25:16 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-04-15 15:25:16 +0000 |
commit | 9846338e68f0951443690e50cb678082a86be57e (patch) | |
tree | 83da5e493e728f6aa8cf5153cac383b338009a72 /bfd/libbfd.h | |
parent | 14825ce9fa772c7024798c83291c822ee86797ea (diff) | |
download | gdb-9846338e68f0951443690e50cb678082a86be57e.zip gdb-9846338e68f0951443690e50cb678082a86be57e.tar.gz gdb-9846338e68f0951443690e50cb678082a86be57e.tar.bz2 |
Merged in some changes from Intel,
Added some more prototypes.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 790d957..2ff951f 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -44,7 +44,7 @@ struct artdata { }; #define bfd_ardata(bfd) ((struct artdata *) ((bfd)->tdata)) -#define bfd_set_ardata(bfd, v) ((bfd)->tdata = (void *) (v)) +#define bfd_set_ardata(bfd, v) ((bfd)->tdata = (PTR) (v)) /* Goes in bfd's arelt_data slot */ struct areltdata { @@ -60,16 +60,16 @@ struct areltdata { it before it becomes a problem -- Gumby */ PROTO (char *, zalloc, (size_t size)); -PROTO (char *, realloc, (char * ptr, size_t size)); -PROTO (bfd_target *, bfd_find_target, (char *target_name)); -PROTO (size_t, bfd_read, (void *ptr, size_t size, size_t nitems, bfd *abfd)); -PROTO (size_t, bfd_write, (void *ptr, size_t size, size_t nitems, bfd *abfd)); + +PROTO (bfd_target *, bfd_find_target, (CONST char *target_name)); +PROTO (size_t, bfd_read, (PTR ptr, size_t size, size_t nitems, bfd *abfd)); +PROTO (size_t, bfd_write, (PTR ptr, size_t size, size_t nitems, bfd *abfd)); PROTO (FILE *, bfd_cache_lookup, (bfd *)); PROTO (void, bfd_cache_close, (bfd *)); -PROTO (int, bfd_seek,(bfd*, file_ptr, int direction)); +PROTO (int, bfd_seek,(bfd* abfd, file_ptr fp , int direction)); PROTO (long, bfd_tell, (bfd *abfd)); PROTO (bfd *, _bfd_create_empty_archive_element_shell, (bfd *obfd)); PROTO (bfd *, look_for_bfd_in_cache, (bfd *arch_bfd, file_ptr index)); |