Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 10:14:40 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys signal.h
Message-ID:  <19991011101440.G78191@freebie.lemis.com>
In-Reply-To: <199910101552.IAA68590@freefall.freebsd.org>
References:  <199910101552.IAA68590@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 10 October 1999 at  8:52:34 -0700, Marcel Moolenaar wrote:
> marcel      1999/10/10 08:52:34 PDT
> 
>   Modified files:
>     sys/sys              signal.h 
>   Log:
>   Use the proper #ifdef around union sigval and siginfo_t. This fixes
>   the breakage of POSIX sources (such as XFree86).
>   
>   Reviewed by: bde

Is this what's causing this breakage in a kernel build?

cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -elf   ../../cam/cam_periph.c
In file included from ../../sys/proc.h:50,
                 from ../../sys/buf.h:242,
                 from ../../cam/cam_periph.c:37:
../../sys/signal.h:214: parse error before `siginfo_t'
../../sys/signal.h:214: warning: function declaration isn't a prototype
In file included from ../../sys/proc.h:50,
                 from ../../sys/buf.h:242,
                 from ../../cam/cam_periph.c:37:
../../sys/signal.h:287: field `sigev_value' has incomplete type
*** Error code 1

Greg
-- 
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19991011101440.G78191>