projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d7671
)
* format.c (bfd_check_format_matches): Cast result of
author
Ian Lance Taylor
<ian@airs.com>
Tue, 25 Jan 1994 18:14:25 +0000
(18:14 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Tue, 25 Jan 1994 18:14:25 +0000
(18:14 +0000)
bfd_xmalloc_by_size_t.
* opncls.c (_bfd_new_bfd): Avoid ANSI C prototype.
bfd/format.c
patch
|
blob
|
history
bfd/opncls.c
patch
|
blob
|
history
diff --git
a/bfd/format.c
b/bfd/format.c
index fc7945ad068a6d3ed8dd9becc8b9dab7216b5a54..c7d994e5cec0f64ee91138e256e936b3dcc400c2 100644
(file)
--- a/
bfd/format.c
+++ b/
bfd/format.c
@@
-141,8
+141,8
@@
bfd_check_format_matches (abfd, format, matching)
if (matching)
{
*matching = matching_vector =
- bfd_xmalloc_by_size_t (sizeof (char *) *
- (_bfd_target_vector_entries + 1));
+
(char **)
bfd_xmalloc_by_size_t (sizeof (char *) *
+
(_bfd_target_vector_entries + 1));
matching_vector[0] = NULL;
}
right_targ = 0;
diff --git
a/bfd/opncls.c
b/bfd/opncls.c
index 729a45ce7bbdb5dba4ba64bd742135d897755b0d..5c958c853d2a3476d78e308bb8878a55de1e1f2d 100644
(file)
--- a/
bfd/opncls.c
+++ b/
bfd/opncls.c
@@
-35,7
+35,7
@@
FILE *bfd_open_file PARAMS ((bfd *));
/* Return a new BFD. All BFD's are allocated through this routine. */
bfd *
-_bfd_new_bfd (
void
)
+_bfd_new_bfd ()
{
bfd *nbfd;