~ubuntu-branches/ubuntu/dapper/xserver-xorg-input-synaptics/dapper

« back to all changes in this revision

Viewing changes to Xincludes/usr/X11R6/include/X11/Xfuncproto.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-10-25 19:12:28 UTC
  • Revision ID: james.westby@ubuntu.com-20051025191228-9brpo4vmsnaspelf
Tags: upstream-0.14.3+seriouslythistime
ImportĀ upstreamĀ versionĀ 0.14.3+seriouslythistime

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Xorg: Xfuncproto.h,v 1.4 2001/02/09 02:03:22 xorgcvs Exp $ */
 
2
/* 
 
3
 * 
 
4
Copyright 1989, 1991, 1998  The Open Group
 
5
 
 
6
Permission to use, copy, modify, distribute, and sell this software and its
 
7
documentation for any purpose is hereby granted without fee, provided that
 
8
the above copyright notice appear in all copies and that both that
 
9
copyright notice and this permission notice appear in supporting
 
10
documentation.
 
11
 
 
12
The above copyright notice and this permission notice shall be included in
 
13
all copies or substantial portions of the Software.
 
14
 
 
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 
18
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 
19
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
20
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
21
 
 
22
Except as contained in this notice, the name of The Open Group shall not be
 
23
used in advertising or otherwise to promote the sale, use or other dealings
 
24
in this Software without prior written authorization from The Open Group.
 
25
 *
 
26
 */
 
27
/* $XFree86: xc/include/Xfuncproto.h,v 3.4 2001/12/14 19:53:25 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_ */