aboutsummaryrefslogtreecommitdiff
path: root/bfd/libelf.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-20 21:55:45 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-20 21:55:45 +0000
commit2f3508ad05b193386e250bee0cb8b30d23928af1 (patch)
treeada9ff855c0d95dec0fddcb8a124df083871b505 /bfd/libelf.h
parent1cf8bd3f31a43932cad1d21cac4acf5b98983e56 (diff)
downloadgdb-2f3508ad05b193386e250bee0cb8b30d23928af1.zip
gdb-2f3508ad05b193386e250bee0cb8b30d23928af1.tar.gz
gdb-2f3508ad05b193386e250bee0cb8b30d23928af1.tar.bz2
* Many files: change all bfd_target vectors to be const. Change
all uses of bfd_target * to be const bfd_target *. Change bfd_target_vector and bfd_default_vector arrays to be const bfd_target * const *.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r--bfd/libelf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h
index 2838a5e..cc6e4db 100644
--- a/bfd/libelf.h
+++ b/bfd/libelf.h
@@ -483,8 +483,8 @@ extern boolean _bfd_elf_link_hash_table_init
extern boolean bfd_elf32_write_object_contents PARAMS ((bfd *));
extern boolean bfd_elf64_write_object_contents PARAMS ((bfd *));
-extern bfd_target *bfd_elf32_object_p PARAMS ((bfd *));
-extern bfd_target *bfd_elf32_core_file_p PARAMS ((bfd *));
+extern const bfd_target *bfd_elf32_object_p PARAMS ((bfd *));
+extern const bfd_target *bfd_elf32_core_file_p PARAMS ((bfd *));
extern char *bfd_elf32_core_file_failing_command PARAMS ((bfd *));
extern int bfd_elf32_core_file_failing_signal PARAMS ((bfd *));
extern boolean bfd_elf32_core_file_matches_executable_p PARAMS ((bfd *,
@@ -540,8 +540,8 @@ extern boolean bfd_elf32_add_dynamic_entry
extern void bfd_elf32_no_info_to_howto PARAMS ((bfd *, arelent *,
Elf32_Internal_Rela *));
-extern bfd_target *bfd_elf64_object_p PARAMS ((bfd *));
-extern bfd_target *bfd_elf64_core_file_p PARAMS ((bfd *));
+extern const bfd_target *bfd_elf64_object_p PARAMS ((bfd *));
+extern const bfd_target *bfd_elf64_core_file_p PARAMS ((bfd *));
extern char *bfd_elf64_core_file_failing_command PARAMS ((bfd *));
extern int bfd_elf64_core_file_failing_signal PARAMS ((bfd *));
extern boolean bfd_elf64_core_file_matches_executable_p PARAMS ((bfd *,