[rfa] `struct _bfd' -> `struct bfd'

Ian Lance Taylor ian@airs.com
Tue Feb 25 07:53:00 GMT 2003


Andrew Cagney <ac131313@redhat.com> writes:

> To follow this up, I've a stylistic question.  Which of:
> 
> 	sec_ptr
> 	asection *
> 	struct sec *
> 
> is prefered.  GDB uses all three which makes things really
> confusing. While GDB's coding standards prefer `struct sec *' (and
> detest sec_ptr) does BFD have a stylistic preference.

I certainly think sec_ptr should be removed.

I tended to use asection * myself.  But then I tended to use bfd *,
not struct _bfd *.

Ian



More information about the Binutils mailing list