Deleted Added
full compact
libc_private.h (199606) libc_private.h (199614)
1/*
2 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*
2 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/lib/libc/include/libc_private.h 199606 2009-11-20 19:19:51Z jhb $
29 * $FreeBSD: head/lib/libc/include/libc_private.h 199614 2009-11-20 20:43:34Z jhb $
30 *
31 * Private definitions for libc, libc_r and libpthread.
32 *
33 */
34
35#ifndef _LIBC_PRIVATE_H_
36#define _LIBC_PRIVATE_H_
37#include <sys/_pthreadtypes.h>

--- 109 unchanged lines hidden (view full) ---

147 */
148void _init_tls(void);
149
150/*
151 * Provides pthread_once()-like functionality for both single-threaded
152 * and multi-threaded applications.
153 */
154int _once(pthread_once_t *, void (*)(void));
30 *
31 * Private definitions for libc, libc_r and libpthread.
32 *
33 */
34
35#ifndef _LIBC_PRIVATE_H_
36#define _LIBC_PRIVATE_H_
37#include <sys/_pthreadtypes.h>

--- 109 unchanged lines hidden (view full) ---

147 */
148void _init_tls(void);
149
150/*
151 * Provides pthread_once()-like functionality for both single-threaded
152 * and multi-threaded applications.
153 */
154int _once(pthread_once_t *, void (*)(void));
155int _libc_once(pthread_once_t *, void (*)(void));
156
157/*
158 * Set the TLS thread pointer
159 */
160void _set_tp(void *tp);
161
162/*
163 * This is a pointer in the C run-time startup code. It is used

--- 52 unchanged lines hidden ---
155
156/*
157 * Set the TLS thread pointer
158 */
159void _set_tp(void *tp);
160
161/*
162 * This is a pointer in the C run-time startup code. It is used

--- 52 unchanged lines hidden ---