path: root/include/signal.h
diff options
authorMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
commitabbd8902334e8c6409384593b4a2c81f939b47b4 (patch)
tree7e9e16e835d265de592c113ee6c5d85f9be039cb /include/signal.h
parent9884a53c1a3e4753e347c793df6af4bd0298eab2 (diff)
o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
Notes: svn path=/head/; revision=102227
Diffstat (limited to 'include/signal.h')
1 files changed, 4 insertions, 4 deletions
diff --git a/include/signal.h b/include/signal.h
index 58ff0f8b7561..ec6e5a045d22 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#include <sys/_posix.h>
-#include <machine/ansi.h>
+#include <sys/_types.h>
#include <sys/signal.h>
#include <sys/time.h>
@@ -53,7 +53,7 @@ extern __const int sys_nsig;
int raise(int);
#ifndef _ANSI_SOURCE
-int kill(_BSD_PID_T_, int);
+int kill(__pid_t, int);
int sigaction(int, const struct sigaction *, struct sigaction *);
int sigaddset(sigset_t *, int);
int sigdelset(sigset_t *, int);
@@ -69,14 +69,14 @@ int sigwait(const sigset_t *, int *);
#ifdef _P1003_1B_VISIBLE
-int sigqueue(_BSD_PID_T_, int, const union sigval);
+int sigqueue(__pid_t, int, const union sigval);
int sigtimedwait(const sigset_t *, siginfo_t *, const struct timespec *);
int sigwaitinfo(const sigset_t *, siginfo_t *);
-int killpg(_BSD_PID_T_, int);
+int killpg(__pid_t, int);
int sigaltstack(const stack_t *, stack_t *);
int sigblock(int);
int siginterrupt(int, int);