This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Andrew Cagney <ac131313 at redhat dot 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]