xref: /freebsd/stand/libsa/xlocale_private.h (revision 52467047aa7dd6d21f6303b28e4278cab2d8fe48)
1afa643baSWarner Losh /*-
2*52467047SWarner Losh  * Copyright (c) 2018 Netflix, Inc.
3afa643baSWarner Losh  *
4afa643baSWarner Losh  * Redistribution and use in source and binary forms, with or without
5afa643baSWarner Losh  * modification, are permitted provided that the following conditions
6afa643baSWarner Losh  * are met:
7afa643baSWarner Losh  * 1. Redistributions of source code must retain the above copyright
8afa643baSWarner Losh  *    notice, this list of conditions and the following disclaimer.
9afa643baSWarner Losh  * 2. Redistributions in binary form must reproduce the above copyright
10afa643baSWarner Losh  *    notice, this list of conditions and the following disclaimer in the
11afa643baSWarner Losh  *    documentation and/or other materials provided with the distribution.
12afa643baSWarner Losh  *
13afa643baSWarner Losh  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14afa643baSWarner Losh  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15afa643baSWarner Losh  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16afa643baSWarner Losh  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17afa643baSWarner Losh  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18afa643baSWarner Losh  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19afa643baSWarner Losh  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20afa643baSWarner Losh  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21afa643baSWarner Losh  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22afa643baSWarner Losh  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23afa643baSWarner Losh  * SUCH DAMAGE.
24afa643baSWarner Losh  *
25afa643baSWarner Losh  * $FreeBSD$
26afa643baSWarner Losh  */
27afa643baSWarner Losh 
28afa643baSWarner Losh #ifndef STAND_XLOCALE_PRIVATE_H
29afa643baSWarner Losh #define STAND_XLOCALE_PRIVATE_H 1
30afa643baSWarner Losh 
31afa643baSWarner Losh typedef int locale_t;
32afa643baSWarner Losh #define FIX_LOCALE(x)
33afa643baSWarner Losh #define isspace_l(c, l) isspace(c)
34afa643baSWarner Losh #define __get_locale()	0
35afa643baSWarner Losh 
36afa643baSWarner Losh #endif /* STAND_XLOCALE_PRIVATE_H */
37