1144518Sdavidxu/*
2144518Sdavidxu * Copyright (c) 1998 Daniel Eischen <eischen@vigrid.com>.
3144518Sdavidxu * All rights reserved.
4144518Sdavidxu *
5144518Sdavidxu * Redistribution and use in source and binary forms, with or without
6144518Sdavidxu * modification, are permitted provided that the following conditions
7144518Sdavidxu * are met:
8144518Sdavidxu * 1. Redistributions of source code must retain the above copyright
9144518Sdavidxu *    notice, this list of conditions and the following disclaimer.
10144518Sdavidxu * 2. Redistributions in binary form must reproduce the above copyright
11144518Sdavidxu *    notice, this list of conditions and the following disclaimer in the
12144518Sdavidxu *    documentation and/or other materials provided with the distribution.
13144518Sdavidxu * 3. All advertising materials mentioning features or use of this software
14144518Sdavidxu *    must display the following acknowledgement:
15144518Sdavidxu *	This product includes software developed by Daniel Eischen.
16144518Sdavidxu * 4. Neither the name of the author nor the names of any co-contributors
17144518Sdavidxu *    may be used to endorse or promote products derived from this software
18144518Sdavidxu *    without specific prior written permission.
19144518Sdavidxu *
20144518Sdavidxu * THIS SOFTWARE IS PROVIDED BY DANIEL EISCHEN AND CONTRIBUTORS ``AS IS'' AND
21144518Sdavidxu * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22144518Sdavidxu * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23144518Sdavidxu * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
24144518Sdavidxu * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25144518Sdavidxu * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26144518Sdavidxu * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27144518Sdavidxu * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28144518Sdavidxu * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29144518Sdavidxu * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30144518Sdavidxu * SUCH DAMAGE.
31144518Sdavidxu *
32144518Sdavidxu * $FreeBSD$
33144518Sdavidxu */
34144518Sdavidxu
35157457Sdavidxu#include "namespace.h"
36144518Sdavidxu#include <errno.h>
37144518Sdavidxu#include <pthread.h>
38144518Sdavidxu#include <pthread_np.h>
39157457Sdavidxu#include "un-namespace.h"
40144518Sdavidxu
41144518Sdavidxu#include "thr_private.h"
42144518Sdavidxu
43144518Sdavidxu
44144518Sdavidxu__weak_reference(_pthread_switch_add_np, pthread_switch_add_np);
45144518Sdavidxu__weak_reference(_pthread_switch_delete_np, pthread_switch_delete_np);
46144518Sdavidxu
47144518Sdavidxuint
48157457Sdavidxu_pthread_switch_add_np(pthread_switch_routine_t routine __unused)
49144518Sdavidxu{
50144518Sdavidxu	return (ENOTSUP);
51144518Sdavidxu}
52144518Sdavidxu
53144518Sdavidxuint
54157457Sdavidxu_pthread_switch_delete_np(pthread_switch_routine_t routine __unused)
55144518Sdavidxu{
56144518Sdavidxu	return (ENOTSUP);
57144518Sdavidxu}
58