Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2001 07:08:12 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        "David E. O'Brien" <obrien@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/sh mail.c 
Message-ID:  <20010801140817.B64653E31@bazooka.unixfreak.org>
In-Reply-To: <97658.996661754@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on "Wed, 01 Aug 2001 12:29:14 %2B0200"

next in thread | previous in thread | raw e-mail | index | archive | help
Sheldon Hearn <sheldonh@starjuice.net> writes:
> 
> 
> On Tue, 31 Jul 2001 22:38:28 MST, "David E. O'Brien" wrote:
> 
> >   Modified files:        (Branch: RELENG_4)
> >     bin/sh               mail.c 
> >   Log:
> >   MFC: include stdlib.h (it doesn't seem to quiet any warnings, so I'm not
> >        sure why it is included)
> 
> <stdlib.h> provides a prototype for abort(3), which is used in mail.c.

Just to expand on this a little, the reason there was no warning is
because gcc has a built-in for abort(3), so it already knows the
prototype.  I added the include files so that it would compile cleanly
with -fno-builtin.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010801140817.B64653E31>