summaryrefslogtreecommitdiff
path: root/src/lib/libc/include
diff options
context:
space:
mode:
authorguenther <>2016-05-10 05:42:31 +0000
committerguenther <>2016-05-10 05:42:31 +0000
commitcc7d36ee3febad029d32c47ff2c569c89582dbdd (patch)
tree5808bf4abf9090ba87521f9f294f08c3c451eff8 /src/lib/libc/include
parent059bdeefa8956dc4f37fc8496d5a5886a44f630c (diff)
downloadopenbsd-cc7d36ee3febad029d32c47ff2c569c89582dbdd.tar.gz
openbsd-cc7d36ee3febad029d32c47ff2c569c89582dbdd.tar.bz2
openbsd-cc7d36ee3febad029d32c47ff2c569c89582dbdd.zip
Oops: the caching of TCB address in single-threaded processes on archs with
slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP symbols.
Diffstat (limited to 'src/lib/libc/include')
-rw-r--r--src/lib/libc/include/cancel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/include/cancel.h b/src/lib/libc/include/cancel.h
index 4f4add471b..a858b80a1c 100644
--- a/src/lib/libc/include/cancel.h
+++ b/src/lib/libc/include/cancel.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: cancel.h,v 1.1 2016/05/07 19:05:22 guenther Exp $ */ 1/* $OpenBSD: cancel.h,v 1.2 2016/05/10 05:42:31 guenther Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 3 * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
4 * 4 *
@@ -26,7 +26,7 @@ __BEGIN_HIDDEN_DECLS
26__dead void _thread_canceled(void); 26__dead void _thread_canceled(void);
27__END_HIDDEN_DECLS 27__END_HIDDEN_DECLS
28 28
29#ifdef LIBC 29#ifdef __LIBC__
30/* 30/*
31 * Redirect macros that would use the syscall to instead use our callback 31 * Redirect macros that would use the syscall to instead use our callback
32 */ 32 */