xref: /netbsd-src/lib/libc/thread-stub/__isthreaded.c (revision 7ba2798f6e75466ab4df933fae405ab7a153f8ce)
1*7ba2798fSexplorer /*	$NetBSD: __isthreaded.c,v 1.3 2009/12/01 01:33:25 explorer Exp $	*/
2179a2df7Sexplorer 
3179a2df7Sexplorer /*-
4*7ba2798fSexplorer  * Copyright (c) 1999 The NetBSD Foundation, Inc.
5179a2df7Sexplorer  * All rights reserved.
6179a2df7Sexplorer  *
7*7ba2798fSexplorer  * This code is derived from software contributed to The NetBSD Foundation
8*7ba2798fSexplorer  * by Michael Graff.
9*7ba2798fSexplorer  *
10179a2df7Sexplorer  * Redistribution and use in source and binary forms, with or without
11179a2df7Sexplorer  * modification, are permitted provided that the following conditions
12179a2df7Sexplorer  * are met:
13179a2df7Sexplorer  * 1. Redistributions of source code must retain the above copyright
14179a2df7Sexplorer  *    notice, this list of conditions and the following disclaimer.
15*7ba2798fSexplorer  * 2. Redistributions in binary form must reproduce the above copyright
16*7ba2798fSexplorer  *    notice, this list of conditions and the following disclaimer in the
17*7ba2798fSexplorer  *    documentation and/or other materials provided with the distribution.
18179a2df7Sexplorer  *
19*7ba2798fSexplorer  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*7ba2798fSexplorer  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*7ba2798fSexplorer  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*7ba2798fSexplorer  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23179a2df7Sexplorer  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24179a2df7Sexplorer  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25179a2df7Sexplorer  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26179a2df7Sexplorer  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27179a2df7Sexplorer  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28179a2df7Sexplorer  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29179a2df7Sexplorer  * POSSIBILITY OF SUCH DAMAGE.
30179a2df7Sexplorer  */
31179a2df7Sexplorer 
3288c3eadbSlukem #include <sys/cdefs.h>
3388c3eadbSlukem #if defined(LIBC_SCCS) && !defined(lint)
34*7ba2798fSexplorer __RCSID("$NetBSD: __isthreaded.c,v 1.3 2009/12/01 01:33:25 explorer Exp $");
3588c3eadbSlukem #endif /* LIBC_SCCS and not lint */
3688c3eadbSlukem 
37179a2df7Sexplorer int __isthreaded = 0;
38