summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /include/signal.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/include/signal.h b/include/signal.h
index 82f39b14f11..84d20e6280c 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.h,v 1.4 1998/11/20 11:18:26 d Exp $ */
+/* $OpenBSD: signal.h,v 1.5 2002/02/16 21:27:17 millert Exp $ */
/* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */
/*-
@@ -51,18 +51,18 @@ extern __const char *__const sys_siglist[_NSIG];
#endif
__BEGIN_DECLS
-int raise __P((int));
+int raise(int);
#ifndef _ANSI_SOURCE
-int kill __P((pid_t, int));
-int sigaction __P((int, const struct sigaction *, struct sigaction *));
-int sigaddset __P((sigset_t *, int));
-int sigdelset __P((sigset_t *, int));
-int sigemptyset __P((sigset_t *));
-int sigfillset __P((sigset_t *));
-int sigismember __P((const sigset_t *, int));
-int sigpending __P((sigset_t *));
-int sigprocmask __P((int, const sigset_t *, sigset_t *));
-int sigsuspend __P((const sigset_t *));
+int kill(pid_t, int);
+int sigaction(int, const struct sigaction *, struct sigaction *);
+int sigaddset(sigset_t *, int);
+int sigdelset(sigset_t *, int);
+int sigemptyset(sigset_t *);
+int sigfillset(sigset_t *);
+int sigismember(const sigset_t *, int);
+int sigpending(sigset_t *);
+int sigprocmask(int, const sigset_t *, sigset_t *);
+int sigsuspend(const sigset_t *);
#if defined(__GNUC__) && defined(__STDC__)
extern __inline int sigaddset(sigset_t *set, int signo) {
@@ -103,17 +103,17 @@ extern __inline int sigismember(const sigset_t *set, int signo) {
#define sigfillset(set) (*(set) = ~(sigset_t)0, 0)
#ifndef _POSIX_SOURCE
-int killpg __P((pid_t, int));
-int sigblock __P((int));
-int siginterrupt __P((int, int));
-int sigpause __P((int));
-int sigreturn __P((struct sigcontext *));
-int sigsetmask __P((int));
-int sigstack __P((const struct sigstack *, struct sigstack *));
-int sigaltstack __P((const struct sigaltstack *, struct sigaltstack *));
-int sigvec __P((int, struct sigvec *, struct sigvec *));
-void psignal __P((unsigned int, const char *));
-int sigwait __P((const sigset_t *, int *));
+int killpg(pid_t, int);
+int sigblock(int);
+int siginterrupt(int, int);
+int sigpause(int);
+int sigreturn(struct sigcontext *);
+int sigsetmask(int);
+int sigstack(const struct sigstack *, struct sigstack *);
+int sigaltstack(const struct sigaltstack *, struct sigaltstack *);
+int sigvec(int, struct sigvec *, struct sigvec *);
+void psignal(unsigned int, const char *);
+int sigwait(const sigset_t *, int *);
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
__END_DECLS