summaryrefslogtreecommitdiff
path: root/include/setjmp.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/setjmp.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/setjmp.h')
-rw-r--r--include/setjmp.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
index f13d08ff6c1..a4dfd1a2aac 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: setjmp.h,v 1.2 1997/09/21 10:45:50 niklas Exp $ */
+/* $OpenBSD: setjmp.h,v 1.3 2002/02/16 21:27:17 millert Exp $ */
/* $NetBSD: setjmp.h,v 1.11 1994/12/20 10:35:44 cgd Exp $ */
/*-
@@ -55,18 +55,18 @@ typedef long jmp_buf[_JBLEN];
#include <sys/cdefs.h>
__BEGIN_DECLS
-int setjmp __P((jmp_buf));
-void longjmp __P((jmp_buf, int));
+int setjmp(jmp_buf);
+void longjmp(jmp_buf, int);
#ifndef _ANSI_SOURCE
-int sigsetjmp __P((sigjmp_buf, int));
-void siglongjmp __P((sigjmp_buf, int));
+int sigsetjmp(sigjmp_buf, int);
+void siglongjmp(sigjmp_buf, int);
#endif /* not ANSI */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
-int _setjmp __P((jmp_buf));
-void _longjmp __P((jmp_buf, int));
-void longjmperror __P((void));
+int _setjmp(jmp_buf);
+void _longjmp(jmp_buf, int);
+void longjmperror(void);
#endif /* neither ANSI nor POSIX */
__END_DECLS