tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Incompatible definition of "struct kevent" in "sys/event.h"



On Thu, Jun 04, 2009 at 11:26:55AM +0100, Matthias Scheler wrote:
> 
>       Hello,
> 
> "struct kevent" as defined in "sys/event.h" looks like this:
> 
> struct kevent {
> [...]
>         intptr_t        udata;          /* opaque user data identifier */
> };
> 
> The problem is that FreeBSD, OpenBSD and Darwin all define "udata"
> as "void".

That should read "void *" of course.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index