summaryrefslogtreecommitdiff
path: root/lib/libc/thread/rthread.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-08-15 07:06:30 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-08-15 07:06:30 +0000
commit0e5c6fde03afa2d4b478ff3489ba8809526b5b5f (patch)
treeb7fecd201e0b87799c60803521eaa352e3aa3637 /lib/libc/thread/rthread.c
parent1405ff8eafb9a8262e3b0127ea811f27e552cf2e (diff)
s/DEF_STD/DEF_STRONG/ to match namespace.h differences between librthread
and libc
Diffstat (limited to 'lib/libc/thread/rthread.c')
-rw-r--r--lib/libc/thread/rthread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/thread/rthread.c b/lib/libc/thread/rthread.c
index 7a5645895d2..97947e515df 100644
--- a/lib/libc/thread/rthread.c
+++ b/lib/libc/thread/rthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.c,v 1.2 2017/08/15 06:38:41 guenther Exp $ */
+/* $OpenBSD: rthread.c,v 1.3 2017/08/15 07:06:29 guenther Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -270,7 +270,7 @@ pthread_self(void)
return (TIB_GET()->tib_thread);
}
-DEF_STD(pthread_self);
+DEF_STRONG(pthread_self);
static void
_rthread_reaper(void)
@@ -348,7 +348,7 @@ pthread_exit(void *retval)
__threxit(&tib->tib_tid);
for(;;);
}
-DEF_STD(pthread_exit);
+DEF_STRONG(pthread_exit);
int
pthread_join(pthread_t thread, void **retval)
@@ -551,7 +551,7 @@ pthread_setcancelstate(int state, int *oldstatep)
return (0);
}
-DEF_STD(pthread_setcancelstate);
+DEF_STRONG(pthread_setcancelstate);
int
pthread_setcanceltype(int type, int *oldtypep)