aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-03-19 20:18:42 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-03-19 20:18:42 +0000
commit789f12fe69217e4b81da4c0f556e7edd21133f9a (patch)
tree233cfc0a5493dd5fb7407b0b8be25bcdc426772d /sys/sys/signal.h
parentbe1673823fec2f9d75e18cf03c6ff04f671753ef (diff)
downloadsrc-789f12fe69217e4b81da4c0f556e7edd21133f9a.tar.gz
src-789f12fe69217e4b81da4c0f556e7edd21133f9a.zip
Remove __P
Notes
Notes: svn path=/head/; revision=92719
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index b1ae12b8c450..c658e2850f73 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -119,7 +119,7 @@
* have the same calling protocol so there is no problem in practice.
* A bit in sa_flags could be used to specify the number of args.
*/
-typedef void __sighandler_t __P((int));
+typedef void __sighandler_t(int);
#define SIG_DFL ((__sighandler_t *)0)
#define SIG_IGN ((__sighandler_t *)1)
@@ -186,9 +186,8 @@ struct __siginfo;
*/
struct sigaction {
union {
- void (*__sa_handler) __P((int));
- void (*__sa_sigaction) __P((int, struct __siginfo *,
- void *));
+ void (*__sa_handler)(int);
+ void (*__sa_sigaction)(int, struct __siginfo *, void *);
} __sigaction_u; /* signal handler */
int sa_flags; /* see signal options below */
sigset_t sa_mask; /* signal mask to apply */
@@ -225,7 +224,7 @@ struct sigaction {
/* Additional FreeBSD values. */
#define SI_UNDEFINED 0
-typedef void __siginfohandler_t __P((int, struct __siginfo *, void *));
+typedef void __siginfohandler_t(int, struct __siginfo *, void *);
typedef __sighandler_t *sig_t; /* type of pointer to a signal function */
@@ -303,7 +302,7 @@ struct sigstack {
* defined by <sys/signal.h>.
*/
__BEGIN_DECLS
-__sighandler_t *signal __P((int, __sighandler_t *));
+__sighandler_t *signal(int, __sighandler_t *);
__END_DECLS
#endif /* !_SYS_SIGNAL_H_ */