From owner-freebsd-current Fri Oct 15 8:20:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 916A2152E0 for ; Fri, 15 Oct 1999 08:15:07 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11c93r-00025Z-00; Fri, 15 Oct 1999 17:14:27 +0200 From: Sheldon Hearn To: Marcel Moolenaar Cc: Mark Murray , current@freebsd.org, gmarco@giovannelli.it Subject: Re: still broken? In-reply-to: Your message of "Fri, 15 Oct 1999 17:07:37 +0200." <38074339.CCAF4B5F@scc.nl> Date: Fri, 15 Oct 1999 17:14:26 +0200 Message-ID: <8032.940000466@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yech, malformed patch. This one applies. :-) Thanks, Marcel. Ciao, Sheldon. Index: signal.h =================================================================== RCS file: /home/ncvs/src/sys/sys/signal.h,v retrieving revision 1.21 diff -u -d -r1.21 signal.h --- signal.h 1999/10/12 13:58:15 1.21 +++ signal.h 1999/10/15 15:13:39 @@ -131,6 +131,15 @@ void *sigval_ptr; }; +struct sigevent { + int sigev_notify; /* Notification type */ + int sigev_signo; /* Signal number */ + union sigval sigev_value; /* Signal value */ +}; + +#define SIGEV_NONE 0 /* No async notification */ +#define SIGEV_SIGNAL 1 /* Generate a queued signal */ + typedef struct __siginfo { int si_signo; /* signal number */ int si_errno; /* errno association */ @@ -209,7 +218,7 @@ /* Additional FreeBSD values. */ #define SI_UNDEFINED 0 -typedef void __siginfohandler_t __P((int, siginfo_t *, void *)); +typedef void __siginfohandler_t __P((int, struct __siginfo *, void *)); typedef __sighandler_t *sig_t; /* type of pointer to a signal function */ @@ -277,17 +286,6 @@ #define SIG_BLOCK 1 /* block specified signal set */ #define SIG_UNBLOCK 2 /* unblock specified signal set */ #define SIG_SETMASK 3 /* set specified signal set */ - -#ifndef _POSIX_SOURCE -struct sigevent { - int sigev_notify; /* Notification type */ - int sigev_signo; /* Signal number */ - union sigval sigev_value; /* Signal value */ -}; - -#define SIGEV_NONE 0 /* No async notification */ -#define SIGEV_SIGNAL 1 /* Generate a queued signal */ -#endif #endif /* !_ANSI_SOURCE */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message