summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-10-04 06:03:10 +0000
committerd <d@openbsd.org>2000-10-04 06:03:10 +0000
commite78fb7c690c365fcdc865a96e6d553db41bd0f6a (patch)
tree8822b3c44e2a32e5b3d1f47751c65f2d986009be /lib
parentswitch to _machdep_switch() instead of setjmp/longjmp. For some reason this fixes sparc threads. (diff)
downloadwireguard-openbsd-e78fb7c690c365fcdc865a96e6d553db41bd0f6a.tar.xz
wireguard-openbsd-e78fb7c690c365fcdc865a96e6d553db41bd0f6a.zip
oops
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/TEST/test_close.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc_r/TEST/test_close.c b/lib/libc_r/TEST/test_close.c
index 1c2cc7fea7c..8bef1c2c916 100644
--- a/lib/libc_r/TEST/test_close.c
+++ b/lib/libc_r/TEST/test_close.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test_close.c,v 1.2 2000/10/04 05:50:58 d Exp $ */
+/* $OpenBSD: test_close.c,v 1.3 2000/10/04 06:03:10 d Exp $ */
/*
* Test the semantics of close() while a select() is happening.
@@ -40,6 +40,7 @@ main()
pthread_t thread;
pthread_attr_t attr;
struct sockaddr_in addr;
+ int ret;
/* Open up a TCP connection to the local discard port */
addr.sin_family = AF_INET;