This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: [PATCH] Handle weak symbols


On 07-May-2001, Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:
> On Sunday 06 May 2001 23:22, Mark Mitchell wrote:
> >   - is_on_pending_weak_list:
> >     - Should return `bool'.
> 
> Really? wasn't there just a discussion that we don't want to use bool in this 
> directory?

Only for function parameters.
For function return types `bool' should be fine.

The reason for the difference is that traditional K&R function
declarations specify the return type, but not the parameter types.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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