summaryrefslogtreecommitdiffstats
path: root/lib/libc/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-20 20:43:34 +0000
committerjhb <jhb@FreeBSD.org>2009-11-20 20:43:34 +0000
commite66ae1c3f9bd142ce98d9a41f908d7e62fca76af (patch)
tree3fedaf844c829871fe1603222e4889335460a3a6 /lib/libc/include
parent9b1c572dee33b0cb3cc9bfbcdf44e7e0c5a81ec8 (diff)
downloadFreeBSD-src-e66ae1c3f9bd142ce98d9a41f908d7e62fca76af.zip
FreeBSD-src-e66ae1c3f9bd142ce98d9a41f908d7e62fca76af.tar.gz
Revert the previous change to pthread_once() stub in libc. It is actually
a feature that libstdc++ depends on to simulate the behavior of libc's internal '__isthreaded' variable. One benefit of this is that _libc_once() is now private to _once_stub.c. Requested by: kan
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/libc_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index bcf2b1c..052eb13 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -152,7 +152,6 @@ void _init_tls(void);
* and multi-threaded applications.
*/
int _once(pthread_once_t *, void (*)(void));
-int _libc_once(pthread_once_t *, void (*)(void));
/*
* Set the TLS thread pointer
OpenPOWER on IntegriCloud