VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/4.3/include/X11/Xfuncproto.h@ 49762

Last change on this file since 49762 was 26163, checked in by vboxsync, 15 years ago

PDM: s/pUsbReg/pReg/g (2nd try, backed out r57176)

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1/* $Xorg: Xfuncproto.h,v 1.4 2001/02/09 02:03:22 xorgcvs Exp $ */
2/*
3 *
4Copyright 1989, 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 in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25 *
26 */
27/* $XFree86: xc/include/Xfuncproto.h,v 3.5 2001/12/19 21:37:28 dawes Exp $ */
28
29/* Definitions to make function prototypes manageable */
30
31#ifndef _XFUNCPROTO_H_
32#define _XFUNCPROTO_H_
33
34#ifndef NeedFunctionPrototypes
35#define NeedFunctionPrototypes 1
36#endif /* NeedFunctionPrototypes */
37
38#ifndef NeedVarargsPrototypes
39#define NeedVarargsPrototypes 1
40#endif /* NeedVarargsPrototypes */
41
42#if NeedFunctionPrototypes
43
44#ifndef NeedNestedPrototypes
45#define NeedNestedPrototypes 1
46#endif /* NeedNestedPrototypes */
47
48#ifndef _Xconst
49#define _Xconst const
50#endif /* _Xconst */
51
52#ifndef NeedWidePrototypes
53#ifdef NARROWPROTO
54#define NeedWidePrototypes 0
55#else
56#define NeedWidePrototypes 1 /* default to make interropt. easier */
57#endif
58#endif /* NeedWidePrototypes */
59
60#endif /* NeedFunctionPrototypes */
61
62#ifndef _XFUNCPROTOBEGIN
63#if defined(__cplusplus) || defined(c_plusplus) /* for C++ V2.0 */
64#define _XFUNCPROTOBEGIN extern "C" { /* do not leave open across includes */
65#define _XFUNCPROTOEND }
66#else
67#define _XFUNCPROTOBEGIN
68#define _XFUNCPROTOEND
69#endif
70#endif /* _XFUNCPROTOBEGIN */
71
72#endif /* _XFUNCPROTO_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette