[rfa] `struct _bfd' -> `struct bfd'
Andreas Schwab
schwab@suse.de
Wed Feb 26 21:18:00 GMT 2003
Hans-Peter Nilsson <hp@bitrange.com> writes:
|> On Mon, 24 Feb 2003, Andrew Cagney wrote:
|>
|> > Having `struct bfd' available will, I think, legitimize its use as an
|> > opaque declaration vis:
|> >
|> > struct bfd;
|> > void func (struct bfd *abfd);
|>
|> And "bfd *" does not fit that purpose?
That would require that bfd be a complete type, since you can only forward
declare struct and union types.
|>
|> > Also, as far as I know, symbols with a leading `_' live in the system
|> > name space.
|>
|> No, it's _ followed by upper-case letter, e.g "_Z".
At file scope all identifiers starting with `_' are reserved, including
struct tags.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list