Deleted Added
full compact
libc_private.h (122129) libc_private.h (133754)
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

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
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

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/lib/libc/include/libc_private.h 122129 2003-11-05 18:17:30Z deischen $
32 * $FreeBSD: head/lib/libc/include/libc_private.h 133754 2004-08-15 16:18:52Z dfr $
33 *
34 * Private definitions for libc, libc_r and libpthread.
35 *
36 */
37
38#ifndef _LIBC_PRIVATE_H_
39#define _LIBC_PRIVATE_H_
40

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

108
109/*
110 * yplib internal interfaces
111 */
112#ifdef YP
113int _yp_check(char **);
114#endif
115
33 *
34 * Private definitions for libc, libc_r and libpthread.
35 *
36 */
37
38#ifndef _LIBC_PRIVATE_H_
39#define _LIBC_PRIVATE_H_
40

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

108
109/*
110 * yplib internal interfaces
111 */
112#ifdef YP
113int _yp_check(char **);
114#endif
115
116/*
117 * Initialise TLS for static programs
118 */
119void _init_tls(void);
116
117/*
120
121/*
122 * Set the TLS thread pointer
123 */
124void _set_tp(void *tp);
125
126/*
118 * This is a pointer in the C run-time startup code. It is used
119 * by getprogname() and setprogname().
120 */
121extern const char *__progname;
122
123/*
124 * This is the lock to make malloc() thread-safe. It is externalized
125 * so that thread libraries can protect malloc across fork().
126 */
127extern struct _spinlock *__malloc_lock;
128
129#endif /* _LIBC_PRIVATE_H_ */
127 * This is a pointer in the C run-time startup code. It is used
128 * by getprogname() and setprogname().
129 */
130extern const char *__progname;
131
132/*
133 * This is the lock to make malloc() thread-safe. It is externalized
134 * so that thread libraries can protect malloc across fork().
135 */
136extern struct _spinlock *__malloc_lock;
137
138#endif /* _LIBC_PRIVATE_H_ */