diff options
author | Alan Modra <amodra@gmail.com> | 2006-11-20 02:09:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-11-20 02:09:56 +0000 |
commit | 74633dd0749d738b2b6de5c44e4aea514a97019a (patch) | |
tree | a3a055551bd59561c578d940fc5dc63e09bc0480 /bfd/bfd-in2.h | |
parent | 98f0b6ab8c1d2e1528a93e9e483f8d666243a67d (diff) | |
download | gdb-74633dd0749d738b2b6de5c44e4aea514a97019a.zip gdb-74633dd0749d738b2b6de5c44e4aea514a97019a.tar.gz gdb-74633dd0749d738b2b6de5c44e4aea514a97019a.tar.bz2 |
* bfd-in.h (struct stat): Don't typedef.
* bfdio.c (bfd_get_size): Return a file_ptr.
* cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread.
* mmo.c (mmo_scan): Use file_ptr for curpos.
* trad-core.c (trad_unix_core): Don't cast statbuf.st_size to
unsigned long.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 80eb8a2..480b2d7 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -357,7 +357,8 @@ typedef struct bfd_section *sec_ptr; (((sec)->rawsize ? (sec)->rawsize : (sec)->size) \ / bfd_octets_per_byte (bfd)) -typedef struct stat stat_type; +/* Forward define. */ +struct stat; typedef enum bfd_print_symbol { @@ -1110,7 +1111,7 @@ bfd_boolean bfd_fill_in_gnu_debuglink_section /* Extracted from bfdio.c. */ long bfd_get_mtime (bfd *abfd); -long bfd_get_size (bfd *abfd); +file_ptr bfd_get_size (bfd *abfd); /* Extracted from bfdwin.c. */ /* Extracted from section.c. */ |