1103447Skan// Prototypes for GLIBC thread locale __-prefixed functions -*- C++ -*-
2103447Skan
3169691Skan// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
4103447Skan//
5103447Skan// This file is part of the GNU ISO C++ Library.  This library is free
6103447Skan// software; you can redistribute it and/or modify it under the
7103447Skan// terms of the GNU General Public License as published by the
8103447Skan// Free Software Foundation; either version 2, or (at your option)
9103447Skan// any later version.
10103447Skan
11103447Skan// This library is distributed in the hope that it will be useful,
12103447Skan// but WITHOUT ANY WARRANTY; without even the implied warranty of
13103447Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14103447Skan// GNU General Public License for more details.
15103447Skan
16103447Skan// You should have received a copy of the GNU General Public License along
17103447Skan// with this library; see the file COPYING.  If not, write to the Free
18169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19103447Skan// USA.
20103447Skan
21103447Skan// As a special exception, you may use this file as part of a free software
22103447Skan// library without restriction.  Specifically, if other files instantiate
23103447Skan// templates or use macros or inline functions from this file, or you compile
24103447Skan// this file and link it with other files to produce an executable, this
25103447Skan// file does not by itself cause the resulting executable to be covered by
26103447Skan// the GNU General Public License.  This exception does not however
27103447Skan// invalidate any other reasons why the executable file might be covered by
28103447Skan// the GNU General Public License.
29103447Skan
30169691Skan/** @file c++locale_internal.h
31169691Skan *  This is an internal header file, included by other library headers.
32169691Skan *  You should not attempt to use it directly.
33169691Skan */
34169691Skan
35103447Skan// Written by Jakub Jelinek <jakub@redhat.com>
36103447Skan
37169691Skan#include <bits/c++config.h>
38103447Skan#include <clocale>
39103447Skan
40103447Skan#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
41103447Skan
42103447Skanextern "C" __typeof(nl_langinfo_l) __nl_langinfo_l;
43103447Skanextern "C" __typeof(strcoll_l) __strcoll_l;
44103447Skanextern "C" __typeof(strftime_l) __strftime_l;
45103447Skanextern "C" __typeof(strtod_l) __strtod_l;
46103447Skanextern "C" __typeof(strtof_l) __strtof_l;
47103447Skanextern "C" __typeof(strtold_l) __strtold_l;
48103447Skanextern "C" __typeof(strxfrm_l) __strxfrm_l;
49169691Skanextern "C" __typeof(newlocale) __newlocale;
50169691Skanextern "C" __typeof(freelocale) __freelocale;
51169691Skanextern "C" __typeof(duplocale) __duplocale;
52169691Skanextern "C" __typeof(uselocale) __uselocale;
53169691Skan
54169691Skan#ifdef _GLIBCXX_USE_WCHAR_T
55169691Skanextern "C" __typeof(iswctype_l) __iswctype_l;
56103447Skanextern "C" __typeof(towlower_l) __towlower_l;
57103447Skanextern "C" __typeof(towupper_l) __towupper_l;
58103447Skanextern "C" __typeof(wcscoll_l) __wcscoll_l;
59103447Skanextern "C" __typeof(wcsftime_l) __wcsftime_l;
60103447Skanextern "C" __typeof(wcsxfrm_l) __wcsxfrm_l;
61103447Skanextern "C" __typeof(wctype_l) __wctype_l;
62169691Skan#endif
63103447Skan
64103447Skan#endif // GLIBC 2.3 and later
65