171579Sdeischen/* 271579Sdeischen * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org> 371579Sdeischen * All rights reserved. 471579Sdeischen * 571579Sdeischen * Redistribution and use in source and binary forms, with or without 671579Sdeischen * modification, are permitted provided that the following conditions 771579Sdeischen * are met: 871579Sdeischen * 1. Redistributions of source code must retain the above copyright 971579Sdeischen * notice, this list of conditions and the following disclaimer. 1071579Sdeischen * 2. Neither the name of the author nor the names of any co-contributors 1171579Sdeischen * may be used to endorse or promote products derived from this software 1271579Sdeischen * without specific prior written permission. 1371579Sdeischen * 1471579Sdeischen * THIS SOFTWARE IS PROVIDED BY DANIEL EISCHEN AND CONTRIBUTORS ``AS IS'' 1571579Sdeischen * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1671579Sdeischen * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1771579Sdeischen * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1871579Sdeischen * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1971579Sdeischen * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2071579Sdeischen * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2171579Sdeischen * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2271579Sdeischen * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2371579Sdeischen * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2471579Sdeischen * SUCH DAMAGE. 2571579Sdeischen */ 2671579Sdeischen 2790039Sobrien#include <sys/cdefs.h> 2890039Sobrien__FBSDID("$FreeBSD$"); 2990039Sobrien 3075368Sdeischen#include <sys/types.h> 3171579Sdeischen 32205997Sdelphijvoid _thread_init_stub(void); 33205997Sdelphij 3475368Sdeischen__weak_reference(_thread_init_stub, _thread_init); 35218824Snwhitehorn__weak_reference(_thread_autoinit_dummy_decl_stub, 36209876Snwhitehorn _thread_autoinit_dummy_decl); 3775368Sdeischen 3871579Sdeischenint _thread_autoinit_dummy_decl_stub = 0; 3971579Sdeischen 4071579Sdeischenvoid 4171579Sdeischen_thread_init_stub(void) 4271579Sdeischen{ 4371579Sdeischen /* This is just a stub; there is nothing to do. */ 4471579Sdeischen} 45