summaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-lib/xorg-headers-native/X11/Xlocale.h
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xorg-lib/xorg-headers-native/X11/Xlocale.h')
-rw-r--r--meta/packages/xorg-lib/xorg-headers-native/X11/Xlocale.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/xorg-headers-native/X11/Xlocale.h b/meta/packages/xorg-lib/xorg-headers-native/X11/Xlocale.h
new file mode 100644
index 0000000000..61d2f7a846
--- /dev/null
+++ b/meta/packages/xorg-lib/xorg-headers-native/X11/Xlocale.h
@@ -0,0 +1,61 @@
1/* $Xorg: Xlocale.h,v 1.4 2001/02/09 02:03:38 xorgcvs Exp $ */
2/*
3
4Copyright 1991, 1998 The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included
13in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
19OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21OTHER DEALINGS IN THE SOFTWARE.
22
23Except as contained in this notice, the name of The Open Group shall
24not be used in advertising or otherwise to promote the sale, use or
25other dealings in this Software without prior written authorization
26from The Open Group.
27
28*/
29/* $XFree86: xc/lib/X11/Xlocale.h,v 1.4 2001/12/14 19:54:09 dawes Exp $ */
30
31#ifndef _XLOCALE_H_
32#define _XLOCALE_H_
33
34#include <X11/Xfuncproto.h>
35#include <X11/Xosdefs.h>
36
37#ifndef X_LOCALE
38#include <locale.h>
39#else
40
41#define LC_ALL 0
42#define LC_COLLATE 1
43#define LC_CTYPE 2
44#define LC_MONETARY 3
45#define LC_NUMERIC 4
46#define LC_TIME 5
47
48_XFUNCPROTOBEGIN
49extern char *_Xsetlocale(
50 int /* category */,
51 _Xconst char* /* name */
52);
53_XFUNCPROTOEND
54
55#define setlocale _Xsetlocale
56
57#include <stddef.h>
58
59#endif /* X_LOCALE */
60
61#endif /* _XLOCALE_H_ */