[PATCH] Fix binutils build with recent glibcs

Alan Modra amodra@bigpond.net.au
Mon Mar 7 10:04:00 GMT 2005


On Mon, Mar 07, 2005 at 10:02:55AM +0100, Jakub Jelinek wrote:
> 	* opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
> 	close is a function like macro in system headers.

OK.  I don't think anyone would have complained if you committed this
as obvious.  OTOH, it's extremely easy to review.  :)

This sort of problem is why I prefer to use the old K&R syntax for
function calls via pointers.  I won't be changing
(*_bfd_error_handler) (...) to _bdf_error_handler (...) in a hurry.  ;-)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list