aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-08 16:32:40 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-08 16:32:40 +0000
commit092abcdfba2315513cd8277751c5964db3e235b6 (patch)
treef5ac2cc4a33886e0b2cd07d40e77e4ad02acdc61 /bfd/bfd-in.h
parent549cd3bac1252695a33a3900c3780ef86c1ddea2 (diff)
downloadgdb-092abcdfba2315513cd8277751c5964db3e235b6.zip
gdb-092abcdfba2315513cd8277751c5964db3e235b6.tar.gz
gdb-092abcdfba2315513cd8277751c5964db3e235b6.tar.bz2
* libbfd.c (bfd_get_file_window): Change return type to boolean.
Cast realloc and malloc return values. If malloc or realloc fail, set bfd_error_no_memory. * bfd-in.h (bfd_get_file_window): Change type to boolean. * bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index d69f763..303ce02 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -618,9 +618,10 @@ typedef struct _bfd_window {
struct _bfd_window_internal *i;
} bfd_window;
-void bfd_init_window PARAMS ((bfd_window *));
-void bfd_free_window PARAMS ((bfd_window *));
-int bfd_get_file_window PARAMS ((bfd *, file_ptr, bfd_size_type, bfd_window *, int));
+extern void bfd_init_window PARAMS ((bfd_window *));
+extern void bfd_free_window PARAMS ((bfd_window *));
+extern boolean bfd_get_file_window
+ PARAMS ((bfd *, file_ptr, bfd_size_type, bfd_window *, int));
/* XCOFF support routines for the linker. */