Deleted Added
full compact
_thread_init.c (209876) _thread_init.c (218824)
1/*
2 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>
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

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>
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

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/lib/libc/gen/_thread_init.c 209876 2010-07-10 14:39:08Z nwhitehorn $");
28__FBSDID("$FreeBSD: head/lib/libc/gen/_thread_init.c 218824 2011-02-18 21:44:53Z nwhitehorn $");
29
30#include <sys/types.h>
31
32void _thread_init_stub(void);
33
34__weak_reference(_thread_init_stub, _thread_init);
29
30#include <sys/types.h>
31
32void _thread_init_stub(void);
33
34__weak_reference(_thread_init_stub, _thread_init);
35__weak_reference_data(_thread_autoinit_dummy_decl_stub,
35__weak_reference(_thread_autoinit_dummy_decl_stub,
36 _thread_autoinit_dummy_decl);
37
38int _thread_autoinit_dummy_decl_stub = 0;
39
40void
41_thread_init_stub(void)
42{
43 /* This is just a stub; there is nothing to do. */
44}
36 _thread_autoinit_dummy_decl);
37
38int _thread_autoinit_dummy_decl_stub = 0;
39
40void
41_thread_init_stub(void)
42{
43 /* This is just a stub; there is nothing to do. */
44}