[patch] small fix to stop gcc warning for lib/libstand/assert.c
Garrett Cooper
yanefbsd at gmail.com
Sun Mar 14 05:55:36 UTC 2010
On Sat, Mar 13, 2010 at 9:24 PM, Doug Barton <dougb at freebsd.org> wrote:
> On 03/13/10 05:52, Alexander Best wrote:
>> hello,
>>
>> this patch fixes the following gcc warning:
>
> For all such issues, please file a PR first so it doesn't get lost. When
> you get the PR confirmation back, feel free to alert the list to its
> existence.
Yes, please submit a proper PR for this because it's a code bug;
FYI, your solution isn't complete though (it's close):
ABORT(3) FreeBSD Library Functions Manual ABORT(3)
NAME
abort -- cause abnormal program termination
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h>
void
abort(void);
Please be explicit and add stdlib.h.
Thanks,
-Garrett
More information about the freebsd-hackers
mailing list