diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-20 21:55:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-20 21:55:45 +0000 |
commit | 2f3508ad05b193386e250bee0cb8b30d23928af1 (patch) | |
tree | ada9ff855c0d95dec0fddcb8a124df083871b505 /bfd/aoutx.h | |
parent | 1cf8bd3f31a43932cad1d21cac4acf5b98983e56 (diff) | |
download | gdb-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/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index da0fa74..7239ac9 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -383,9 +383,9 @@ FUNCTION aout_@var{size}_some_aout_object_p SYNOPSIS - bfd_target *aout_@var{size}_some_aout_object_p + const bfd_target *aout_@var{size}_some_aout_object_p (bfd *abfd, - bfd_target *(*callback_to_real_object_p)()); + const bfd_target *(*callback_to_real_object_p)()); DESCRIPTION Some a.out variant thinks that the file open in @var{abfd} @@ -395,14 +395,14 @@ DESCRIPTION handle any last-minute setup. */ -bfd_target * +const bfd_target * NAME(aout,some_aout_object_p) (abfd, execp, callback_to_real_object_p) bfd *abfd; struct internal_exec *execp; - bfd_target *(*callback_to_real_object_p) PARAMS ((bfd *)); + const bfd_target *(*callback_to_real_object_p) PARAMS ((bfd *)); { struct aout_data_struct *rawptr, *oldrawptr; - bfd_target *result; + const bfd_target *result; rawptr = (struct aout_data_struct *) bfd_zalloc (abfd, sizeof (struct aout_data_struct )); if (rawptr == NULL) { |