summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/setjmp
diff options
context:
space:
mode:
authorderaadt <>2003-07-31 21:48:04 +0000
committerderaadt <>2003-07-31 21:48:04 +0000
commit33c506bfed3ead4cc96819ce600895082c214755 (patch)
treef684ac5f268a986ffa67596e223c418beaac533a /src/regress/lib/libc/setjmp
parent1e17357c09b2a156a0fa1407b68c4158394b9d7e (diff)
downloadopenbsd-33c506bfed3ead4cc96819ce600895082c214755.tar.gz
openbsd-33c506bfed3ead4cc96819ce600895082c214755.tar.bz2
openbsd-33c506bfed3ead4cc96819ce600895082c214755.zip
various cleanups; david says results are same
Diffstat (limited to 'src/regress/lib/libc/setjmp')
-rw-r--r--src/regress/lib/libc/setjmp/jmptest.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/regress/lib/libc/setjmp/jmptest.c b/src/regress/lib/libc/setjmp/jmptest.c
index de6e70d9f6..86b0e6ae93 100644
--- a/src/regress/lib/libc/setjmp/jmptest.c
+++ b/src/regress/lib/libc/setjmp/jmptest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: jmptest.c,v 1.5 2001/11/11 23:26:35 deraadt Exp $ */ 1/* $OpenBSD: jmptest.c,v 1.6 2003/07/31 21:48:03 deraadt Exp $ */
2/* $NetBSD: jmptest.c,v 1.2 1995/01/01 20:55:35 jtc Exp $ */ 2/* $NetBSD: jmptest.c,v 1.2 1995/01/01 20:55:35 jtc Exp $ */
3 3
4/* 4/*
@@ -64,9 +64,8 @@
64 64
65int expectsignal; 65int expectsignal;
66 66
67void 67static void
68aborthandler(signo) 68aborthandler(int signo)
69 int signo;
70{ 69{
71 70
72 if (expectsignal) 71 if (expectsignal)
@@ -78,9 +77,7 @@ aborthandler(signo)
78} 77}
79 78
80int 79int
81main(argc, argv) 80main(int argc, char *argv[])
82 int argc;
83 char *argv[];
84{ 81{
85 struct sigaction sa; 82 struct sigaction sa;
86 BUF jb; 83 BUF jb;