This commit is contained in:
Mike Gelfand 2025-07-04 23:01:24 +03:00 committed by GitHub
commit 2fbca837eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
111 changed files with 377 additions and 375 deletions

View File

@ -1,10 +1,10 @@
/* Prototypes for functions that the DDX must provide */ /* Prototypes for functions that the DDX must provide */
#include <dix-config.h>
#ifndef _DPMSPROC_H_ #ifndef _DPMSPROC_H_
#define _DPMSPROC_H_ #define _DPMSPROC_H_
#include <dix-config.h>
#include "dixstruct.h" #include "dixstruct.h"
extern int DPMSSet(ClientPtr client, int level); extern int DPMSSet(ClientPtr client, int level);

View File

@ -28,21 +28,21 @@ Equipment Corporation.
/* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */ /* THIS IS NOT AN X PROJECT TEAM SPECIFICATION */
/*
* PanoramiX definitions
*/
#include <dix-config.h>
#ifndef _PANORAMIX_H_ #ifndef _PANORAMIX_H_
#define _PANORAMIX_H_ #define _PANORAMIX_H_
#include <dix-config.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>
#include <X11/extensions/panoramiXproto.h> #include <X11/extensions/panoramiXproto.h>
#include "gcstruct.h" #include "gcstruct.h"
#include "dixstruct.h" #include "dixstruct.h"
/*
* PanoramiX definitions
*/
typedef struct _PanoramiXInfo { typedef struct _PanoramiXInfo {
XID id; XID id;
} PanoramiXInfo; } PanoramiXInfo;

View File

@ -1,9 +1,8 @@
#include <dix-config.h>
#ifndef _PANORAMIXSRV_H_ #ifndef _PANORAMIXSRV_H_
#define _PANORAMIXSRV_H_ #define _PANORAMIXSRV_H_
#include <dix-config.h>
#include "panoramiX.h" #include "panoramiX.h"
extern int PanoramiXNumScreens; extern int PanoramiXNumScreens;

View File

@ -24,11 +24,11 @@
* XFree86 Project. * XFree86 Project.
*/ */
#include <dix-config.h>
#ifndef _SLEEPUNTIL_H_ #ifndef _SLEEPUNTIL_H_
#define _SLEEPUNTIL_H_ 1 #define _SLEEPUNTIL_H_ 1
#include <dix-config.h>
#include "dix.h" #include "dix.h"
extern int ClientSleepUntil(ClientPtr client, extern int ClientSleepUntil(ClientPtr client,

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef ALLOWEV_H
#define ALLOWEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef ALLOWEV_H
#define ALLOWEV_H 1
int SProcXAllowDeviceEvents(ClientPtr /* client */ int SProcXAllowDeviceEvents(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CHGDCTL_H
#define CHGDCTL_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHGDCTL_H
#define CHGDCTL_H 1
int SProcXChangeDeviceControl(ClientPtr /* client */ int SProcXChangeDeviceControl(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CHGFCTL_H
#define CHGFCTL_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHGFCTL_H
#define CHGFCTL_H 1
int SProcXChangeFeedbackControl(ClientPtr /* client */ int SProcXChangeFeedbackControl(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CHGKBD_H
#define CHGKBD_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHGKBD_H
#define CHGKBD_H 1
int ProcXChangeKeyboardDevice(ClientPtr /* client */ int ProcXChangeKeyboardDevice(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CHGKMAP_H
#define CHGKMAP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHGKMAP_H
#define CHGKMAP_H 1
int SProcXChangeDeviceKeyMapping(ClientPtr /* client */ int SProcXChangeDeviceKeyMapping(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CHGPROP_H
#define CHGPROP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHGPROP_H
#define CHGPROP_H 1
int SProcXChangeDeviceDontPropagateList(ClientPtr /* client */ int SProcXChangeDeviceDontPropagateList(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CHGPTR_H
#define CHGPTR_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHGPTR_H
#define CHGPTR_H 1
int ProcXChangePointerDevice(ClientPtr /* client */ int ProcXChangePointerDevice(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef CLOSEDEV_H
#define CLOSEDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CLOSEDEV_H
#define CLOSEDEV_H 1
int ProcXCloseDevice(ClientPtr /* client */ int ProcXCloseDevice(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef DEVBELL_H
#define DEVBELL_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef DEVBELL_H
#define DEVBELL_H 1
int ProcXDeviceBell(ClientPtr /* client */ int ProcXDeviceBell(ClientPtr /* client */
); );

View File

@ -23,19 +23,19 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
/***************************************************************** #ifndef EXGLOBALS_H
* #define EXGLOBALS_H 1
* Globals referenced elsewhere in the server.
*
*/
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#include "privates.h" #include "privates.h"
#ifndef EXGLOBALS_H /*****************************************************************
#define EXGLOBALS_H 1 *
* Globals referenced elsewhere in the server.
*
*/
extern int IEventBase; extern int IEventBase;
extern int BadDevice; extern int BadDevice;
extern int BadMode; extern int BadMode;

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETBMAP_H
#define GETBMAP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETBMAP_H
#define GETBMAP_H 1
int ProcXGetDeviceButtonMapping(ClientPtr /* client */ int ProcXGetDeviceButtonMapping(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETDCTL_H
#define GETDCTL_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETDCTL_H
#define GETDCTL_H 1
int SProcXGetDeviceControl(ClientPtr /* client */ int SProcXGetDeviceControl(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETFCTL_H
#define GETFCTL_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETFCTL_H
#define GETFCTL_H 1
int ProcXGetFeedbackControl(ClientPtr /* client */ int ProcXGetFeedbackControl(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETFOCUS_H
#define GETFOCUS_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETFOCUS_H
#define GETFOCUS_H 1
int ProcXGetDeviceFocus(ClientPtr /* client */ int ProcXGetDeviceFocus(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETKMAP_H
#define GETKMAP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETKMAP_H
#define GETKMAP_H 1
int ProcXGetDeviceKeyMapping(ClientPtr /* client */ int ProcXGetDeviceKeyMapping(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETMMAP_H
#define GETMMAP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETMMAP_H
#define GETMMAP_H 1
int ProcXGetDeviceModifierMapping(ClientPtr /* client */ int ProcXGetDeviceModifierMapping(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETPROP_H
#define GETPROP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETPROP_H
#define GETPROP_H 1
int SProcXGetDeviceDontPropagateList(ClientPtr /* client */ int SProcXGetDeviceDontPropagateList(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETSELEV_H
#define GETSELEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETSELEV_H
#define GETSELEV_H 1
int SProcXGetSelectedExtensionEvents(ClientPtr /* client */ int SProcXGetSelectedExtensionEvents(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GETVERS_H
#define GETVERS_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETVERS_H
#define GETVERS_H 1
int SProcXGetExtensionVersion(ClientPtr /* client */ int SProcXGetExtensionVersion(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GRABDEV_H
#define GRABDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GRABDEV_H
#define GRABDEV_H 1
int SProcXGrabDevice(ClientPtr /* client */ int SProcXGrabDevice(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GRABDEVB_H
#define GRABDEVB_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GRABDEVB_H
#define GRABDEVB_H 1
int SProcXGrabDeviceButton(ClientPtr /* client */ int SProcXGrabDeviceButton(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GRABDEVK_H
#define GRABDEVK_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GRABDEVK_H
#define GRABDEVK_H 1
int SProcXGrabDeviceKey(ClientPtr /* client */ int SProcXGrabDeviceKey(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef GTMOTION_H
#define GTMOTION_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GTMOTION_H
#define GTMOTION_H 1
int SProcXGetDeviceMotionEvents(ClientPtr /* client */ int SProcXGetDeviceMotionEvents(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef LISTDEV_H
#define LISTDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef LISTDEV_H
#define LISTDEV_H 1
#define VPC 20 /* Max # valuators per chunk */ #define VPC 20 /* Max # valuators per chunk */
int ProcXListInputDevices(ClientPtr /* client */ int ProcXListInputDevices(ClientPtr /* client */

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef OPENDEV_H
#define OPENDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef OPENDEV_H
#define OPENDEV_H 1
int ProcXOpenDevice(ClientPtr /* client */ int ProcXOpenDevice(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef QUERYST_H
#define QUERYST_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef QUERYST_H
#define QUERYST_H 1
int ProcXQueryDeviceState(ClientPtr /* client */ int ProcXQueryDeviceState(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SELECTEV_H
#define SELECTEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SELECTEV_H
#define SELECTEV_H 1
int SProcXSelectExtensionEvent(ClientPtr /* client */ int SProcXSelectExtensionEvent(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SENDEXEV_H
#define SENDEXEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SENDEXEV_H
#define SENDEXEV_H 1
int SProcXSendExtensionEvent(ClientPtr /* client */ int SProcXSendExtensionEvent(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SETBMAP_H
#define SETBMAP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SETBMAP_H
#define SETBMAP_H 1
int ProcXSetDeviceButtonMapping(ClientPtr /* client */ int ProcXSetDeviceButtonMapping(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SETDVAL_H
#define SETDVAL_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SETDVAL_H
#define SETDVAL_H 1
int ProcXSetDeviceValuators(ClientPtr /* client */ int ProcXSetDeviceValuators(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SETFOCUS_H
#define SETFOCUS_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SETFOCUS_H
#define SETFOCUS_H 1
int SProcXSetDeviceFocus(ClientPtr /* client */ int SProcXSetDeviceFocus(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SETMMAP_H
#define SETMMAP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SETMMAP_H
#define SETMMAP_H 1
int ProcXSetDeviceModifierMapping(ClientPtr /* client */ int ProcXSetDeviceModifierMapping(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef SETMODE_H
#define SETMODE_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SETMODE_H
#define SETMODE_H 1
int ProcXSetDeviceMode(ClientPtr /* client */ int ProcXSetDeviceMode(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef UNGRDEV_H
#define UNGRDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef UNGRDEV_H
#define UNGRDEV_H 1
int SProcXUngrabDevice(ClientPtr /* client */ int SProcXUngrabDevice(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef UNGRDEVB_H
#define UNGRDEVB_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef UNGRDEVB_H
#define UNGRDEVB_H 1
int SProcXUngrabDeviceButton(ClientPtr /* client */ int SProcXUngrabDeviceButton(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef UNGRDEVK_H
#define UNGRDEVK_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef UNGRDEVK_H
#define UNGRDEVK_H 1
int SProcXUngrabDeviceKey(ClientPtr /* client */ int SProcXUngrabDeviceKey(ClientPtr /* client */
); );

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer * Author: Peter Hutterer
*/ */
#ifndef XIALLOWEV_H
#define XIALLOWEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef XIALLOWEV_H
#define XIALLOWEV_H 1
int ProcXIAllowEvents(ClientPtr client); int ProcXIAllowEvents(ClientPtr client);
int SProcXIAllowEvents(ClientPtr client); int SProcXIAllowEvents(ClientPtr client);

View File

@ -1,11 +1,10 @@
#ifndef _XIBARRIERS_H_
#define _XIBARRIERS_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _XIBARRIERS_H_
#define _XIBARRIERS_H_
#include "resource.h" #include "resource.h"
extern RESTYPE PointerBarrierType; extern RESTYPE PointerBarrierType;

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer, University of South Australia, NICTA * Author: Peter Hutterer, University of South Australia, NICTA
*/ */
#ifndef CHDEVCUR_H
#define CHDEVCUR_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef CHDEVCUR_H
#define CHDEVCUR_H 1
int SProcXIChangeCursor(ClientPtr /* client */ ); int SProcXIChangeCursor(ClientPtr /* client */ );
int ProcXIChangeCursor(ClientPtr /* client */ ); int ProcXIChangeCursor(ClientPtr /* client */ );

View File

@ -23,19 +23,19 @@
* Author: Peter Hutterer, University of South Australia, NICTA * Author: Peter Hutterer, University of South Australia, NICTA
*/ */
#ifndef CHDEVHIER_H
#define CHDEVHIER_H 1
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
/*********************************************************************** /***********************************************************************
* *
* Request change in the device hierarchy. * Request change in the device hierarchy.
* *
*/ */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef CHDEVHIER_H
#define CHDEVHIER_H 1
int ProcXIChangeHierarchy(ClientPtr /* client */ ); int ProcXIChangeHierarchy(ClientPtr /* client */ );
void XISendDeviceHierarchyEvent(int flags[MAXDEVICES]); void XISendDeviceHierarchyEvent(int flags[MAXDEVICES]);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer, University of South Australia, NICTA * Author: Peter Hutterer, University of South Australia, NICTA
*/ */
#ifndef GETCPTR_H
#define GETCPTR_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef GETCPTR_H
#define GETCPTR_H 1
int SProcXIGetClientPointer(ClientPtr /* client */ ); int SProcXIGetClientPointer(ClientPtr /* client */ );
int ProcXIGetClientPointer(ClientPtr /* client */ ); int ProcXIGetClientPointer(ClientPtr /* client */ );

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer * Author: Peter Hutterer
*/ */
#ifndef XIGRABDEV_H
#define XIGRABDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef XIGRABDEV_H
#define XIGRABDEV_H 1
int ProcXIGrabDevice(ClientPtr client); int ProcXIGrabDevice(ClientPtr client);
int SProcXIGrabDevice(ClientPtr client); int SProcXIGrabDevice(ClientPtr client);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer * Author: Peter Hutterer
*/ */
#ifndef XIPASSIVEGRAB_H
#define XIPASSIVEGRAB_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef XIPASSIVEGRAB_H
#define XIPASSIVEGRAB_H 1
int SProcXIPassiveUngrabDevice(ClientPtr client); int SProcXIPassiveUngrabDevice(ClientPtr client);
int ProcXIPassiveUngrabDevice(ClientPtr client); int ProcXIPassiveUngrabDevice(ClientPtr client);
int ProcXIPassiveGrabDevice(ClientPtr client); int ProcXIPassiveGrabDevice(ClientPtr client);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer * Author: Peter Hutterer
*/ */
#ifndef XIPROPERTY_H
#define XIPROPERTY_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef XIPROPERTY_H
#define XIPROPERTY_H 1
int ProcXListDeviceProperties(ClientPtr client); int ProcXListDeviceProperties(ClientPtr client);
int ProcXChangeDeviceProperty(ClientPtr client); int ProcXChangeDeviceProperty(ClientPtr client);
int ProcXDeleteDeviceProperty(ClientPtr client); int ProcXDeleteDeviceProperty(ClientPtr client);

View File

@ -24,13 +24,13 @@
* *
*/ */
#ifndef QUERYDEV_H
#define QUERYDEV_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef QUERYDEV_H
#define QUERYDEV_H 1
#include <X11/extensions/XI2proto.h> #include <X11/extensions/XI2proto.h>
int SProcXIQueryDevice(ClientPtr client); int SProcXIQueryDevice(ClientPtr client);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer, University of South Australia, NICTA * Author: Peter Hutterer, University of South Australia, NICTA
*/ */
#ifndef QUERYDP_H
#define QUERYDP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef QUERYDP_H
#define QUERYDP_H 1
int SProcXIQueryPointer(ClientPtr /* client */ ); int SProcXIQueryPointer(ClientPtr /* client */ );
int ProcXIQueryPointer(ClientPtr /* client */ ); int ProcXIQueryPointer(ClientPtr /* client */ );

View File

@ -24,15 +24,15 @@
* *
*/ */
#ifndef QUERYVERSION_H
#define QUERYVERSION_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#include <X11/extensions/XI2proto.h> #include <X11/extensions/XI2proto.h>
#ifndef QUERYVERSION_H
#define QUERYVERSION_H 1
int SProcXIQueryVersion(ClientPtr client); int SProcXIQueryVersion(ClientPtr client);
int ProcXIQueryVersion(ClientPtr client); int ProcXIQueryVersion(ClientPtr client);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer * Author: Peter Hutterer
*/ */
#ifndef XISELECTEVENTS_H
#define XISELECTEVENTS_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef XISELECTEVENTS_H
#define XISELECTEVENTS_H 1
int SProcXISelectEvents(ClientPtr client); int SProcXISelectEvents(ClientPtr client);
int ProcXISelectEvents(ClientPtr client); int ProcXISelectEvents(ClientPtr client);
int SProcXIGetSelectedEvents(ClientPtr client); int SProcXIGetSelectedEvents(ClientPtr client);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer, University of South Australia, NICTA * Author: Peter Hutterer, University of South Australia, NICTA
*/ */
#ifndef SETCPTR_H
#define SETCPTR_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SETCPTR_H
#define SETCPTR_H 1
int SProcXISetClientPointer(ClientPtr /* client */ ); int SProcXISetClientPointer(ClientPtr /* client */ );
int ProcXISetClientPointer(ClientPtr /* client */ ); int ProcXISetClientPointer(ClientPtr /* client */ );

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer * Author: Peter Hutterer
*/ */
#ifndef XISETDEVFOCUS_H
#define XISETDEVFOCUS_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef XISETDEVFOCUS_H
#define XISETDEVFOCUS_H 1
int SProcXISetFocus(ClientPtr client); int SProcXISetFocus(ClientPtr client);
int ProcXISetFocus(ClientPtr client); int ProcXISetFocus(ClientPtr client);

View File

@ -23,13 +23,13 @@
* Author: Peter Hutterer, University of South Australia, NICTA * Author: Peter Hutterer, University of South Australia, NICTA
*/ */
#ifndef WARPDEVP_H
#define WARPDEVP_H 1
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef WARPDEVP_H
#define WARPDEVP_H 1
int SProcXIWarpPointer(ClientPtr /* client */ ); int SProcXIWarpPointer(ClientPtr /* client */ );
int ProcXIWarpPointer(ClientPtr /* client */ ); int ProcXIWarpPointer(ClientPtr /* client */ );

View File

@ -41,13 +41,13 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef _COMPINT_H_
#define _COMPINT_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _COMPINT_H_
#define _COMPINT_H_
#include "dix/screen_hooks_priv.h" #include "dix/screen_hooks_priv.h"
#include "misc.h" #include "misc.h"

View File

@ -21,13 +21,13 @@
* SOFTWARE. * SOFTWARE.
*/ */
#ifndef _COMPOSITEEXT_H_
#define _COMPOSITEEXT_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _COMPOSITEEXT_H_
#define _COMPOSITEEXT_H_
#include "misc.h" #include "misc.h"
#include "scrnintstr.h" #include "scrnintstr.h"

View File

@ -20,13 +20,13 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef _DAMAGEEXTINT_H_
#define _DAMAGEEXTINT_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _DAMAGEEXTINT_H_
#define _DAMAGEEXTINT_H_
#include <X11/X.h> #include <X11/X.h>
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include <X11/extensions/damageproto.h> #include <X11/extensions/damageproto.h>

View File

@ -29,13 +29,13 @@
* *
*****************************************************************************/ *****************************************************************************/
#ifndef MIDBE_H
#define MIDBE_H
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef MIDBE_H
#define MIDBE_H
#include "dix/screen_hooks_priv.h" #include "dix/screen_hooks_priv.h"
#include "include/privates.h" #include "include/privates.h"

View File

@ -23,17 +23,17 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/ ********************************************************/
#ifndef DISPATCH_H
#define DISPATCH_H 1
#include <dix-config.h>
/* /*
* This prototypes the dispatch.c module (except for functions declared in * This prototypes the dispatch.c module (except for functions declared in
* global headers), plus related dispatch procedures from devices.c, events.c, * global headers), plus related dispatch procedures from devices.c, events.c,
* extension.c, property.c. * extension.c, property.c.
*/ */
#include <dix-config.h>
#ifndef DISPATCH_H
#define DISPATCH_H 1
int ProcAllocColor(ClientPtr /* client */ ); int ProcAllocColor(ClientPtr /* client */ );
int ProcAllocColorCells(ClientPtr /* client */ ); int ProcAllocColorCells(ClientPtr /* client */ );
int ProcAllocColorPlanes(ClientPtr /* client */ ); int ProcAllocColorPlanes(ClientPtr /* client */ );

View File

@ -24,11 +24,11 @@
* *
*/ */
#include <dix-config.h>
#ifndef ENTERLEAVE_H #ifndef ENTERLEAVE_H
#define ENTERLEAVE_H #define ENTERLEAVE_H
#include <dix-config.h>
#include <dix.h> /* DoFocusEvents() */ #include <dix.h> /* DoFocusEvents() */
extern void DoEnterLeaveEvents(DeviceIntPtr pDev, extern void DoEnterLeaveEvents(DeviceIntPtr pDev,

View File

@ -21,13 +21,13 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef _FBPICT_H_
#define _FBPICT_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _FBPICT_H_
#define _FBPICT_H_
#include "fb.h" #include "fb.h"
/* fbpict.c */ /* fbpict.c */

View File

@ -25,13 +25,13 @@
* *
*/ */
#ifndef __GLAMOR_UTILS_H__
#define __GLAMOR_UTILS_H__
#ifndef GLAMOR_PRIV_H #ifndef GLAMOR_PRIV_H
#error This file can only be included by glamor_priv.h #error This file can only be included by glamor_priv.h
#endif #endif
#ifndef __GLAMOR_UTILS_H__
#define __GLAMOR_UTILS_H__
#include "os/bug_priv.h" #include "os/bug_priv.h"
#include "glamor_prepare.h" #include "glamor_prepare.h"

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_context_h_
#define _GLX_context_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _GLX_context_h_
#define _GLX_context_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
struct __GLXcontext { struct __GLXcontext {
void (*destroy) (__GLXcontext * context); void (*destroy) (__GLXcontext * context);
int (*makeCurrent) (__GLXcontext * context); int (*makeCurrent) (__GLXcontext * context);

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_drawable_h_
#define _GLX_drawable_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _GLX_drawable_h_
#define _GLX_drawable_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
/* We just need to avoid clashing with DRAWABLE_{WINDOW,PIXMAP} */ /* We just need to avoid clashing with DRAWABLE_{WINDOW,PIXMAP} */
enum { enum {
GLX_DRAWABLE_WINDOW, GLX_DRAWABLE_WINDOW,

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _glxext_h_
#define _glxext_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _glxext_h_
#define _glxext_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
/* doing #include <GL/glx.h> & #include <GL/glxext.h> could cause problems /* doing #include <GL/glx.h> & #include <GL/glxext.h> could cause problems
* with overlapping definitions, so let's use the easy way * with overlapping definitions, so let's use the easy way
*/ */

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_screens_h_
#define _GLX_screens_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _GLX_screens_h_
#define _GLX_screens_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include "extension_string.h" #include "extension_string.h"
#include "glxvndabi.h" #include "glxvndabi.h"

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _GLX_server_h_
#define _GLX_server_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _GLX_server_h_
#define _GLX_server_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <X11/X.h> #include <X11/X.h>
#include <X11/Xproto.h> #include <X11/Xproto.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _glxcmds_h_
#define _glxcmds_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _glxcmds_h_
#define _glxcmds_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
extern GLboolean __glXDrawableInit(__GLXdrawable * drawable, extern GLboolean __glXDrawableInit(__GLXdrawable * drawable,
__GLXscreen * screen, __GLXscreen * screen,
DrawablePtr pDraw, int type, XID drawID, DrawablePtr pDraw, int type, XID drawID,

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _singlesize_h_
#define _singlesize_h_
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef _singlesize_h_
#define _singlesize_h_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include "indirect_size.h" #include "indirect_size.h"
extern GLint __glReadPixels_size(GLenum format, GLenum type, extern GLint __glReadPixels_size(GLenum format, GLenum type,

View File

@ -1,10 +1,3 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef __GLX_unpack_h__
#define __GLX_unpack_h__
/* /*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
@ -35,6 +28,13 @@
* Silicon Graphics, Inc. * Silicon Graphics, Inc.
*/ */
#ifndef __GLX_unpack_h__
#define __GLX_unpack_h__
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#define __GLX_PAD(s) (((s)+3) & (GLuint)~3) #define __GLX_PAD(s) (((s)+3) & (GLuint)~3)
/* /*

View File

@ -31,13 +31,13 @@
* video drivers must not include this file. * video drivers must not include this file.
*/ */
#ifndef _XF86_BUS_H
#define _XF86_BUS_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _XF86_BUS_H
#define _XF86_BUS_H
#include "xf86pciBus.h" #include "xf86pciBus.h"
#if defined(__sparc__) || defined(__sparc) #if defined(__sparc__) || defined(__sparc)
#include "xf86sbusBus.h" #include "xf86sbusBus.h"

View File

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 1997-2000 by The XFree86 Project, Inc. * Copyright (c) 1997-2000 by The XFree86 Project, Inc.
* *
@ -26,13 +25,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _xf86_config_h
#define _xf86_config_h
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _xf86_config_h
#define _xf86_config_h
#include "xf86Optrec.h" #include "xf86Optrec.h"
#include "xf86Parser.h" #include "xf86Parser.h"
#include "xf86str.h" #include "xf86str.h"

View File

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 1999 by The XFree86 Project, Inc. * Copyright (c) 1999 by The XFree86 Project, Inc.
* *
@ -26,13 +25,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _xf86InPriv_h
#define _xf86InPriv_h
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _xf86InPriv_h
#define _xf86InPriv_h
/* xf86Globals.c */ /* xf86Globals.c */
extern InputDriverPtr *xf86InputDriverList; extern InputDriverPtr *xf86InputDriverList;
extern int xf86NumInputDrivers; extern int xf86NumInputDrivers;

View File

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 1999-2003 by The XFree86 Project, Inc. * Copyright (c) 1999-2003 by The XFree86 Project, Inc.
* *
@ -26,13 +25,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _XF86_PCI_BUS_H
#define _XF86_PCI_BUS_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _XF86_PCI_BUS_H
#define _XF86_PCI_BUS_H
#include "xf86MatchDrivers.h" #include "xf86MatchDrivers.h"
void xf86PciProbe(void); void xf86PciProbe(void);

View File

@ -31,15 +31,16 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* *
*/ */
/* Prototypes for DRI functions */
#ifndef _DRI_H_ #ifndef _DRI_H_
#define _DRI_H_
#include <pciaccess.h> #include <pciaccess.h>
#include "scrnintstr.h" #include "scrnintstr.h"
#include "xf86dri.h" #include "xf86dri.h"
/* Prototypes for DRI functions */
typedef int DRISyncType; typedef int DRISyncType;
#define DRI_NO_SYNC 0 #define DRI_NO_SYNC 0
@ -333,6 +334,4 @@ extern _X_EXPORT void DRIGetTexOffsetFuncs(ScreenPtr pScreen,
DRITexOffsetFinishProcPtr * DRITexOffsetFinishProcPtr *
texOffsetFinishFunc); texOffsetFinishFunc);
#define _DRI_H_
#endif #endif

View File

@ -3,13 +3,13 @@
* removed internal stuff (#ifdef __KERNEL__) * removed internal stuff (#ifdef __KERNEL__)
*/ */
#ifndef _LINUX_FB_H
#define _LINUX_FB_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _LINUX_FB_H
#define _LINUX_FB_H
#include <asm/types.h> #include <asm/types.h>
/* Definitions of frame buffers */ /* Definitions of frame buffers */

View File

@ -3,12 +3,14 @@
* execute BIOS int 10h calls in x86 real mode environment * execute BIOS int 10h calls in x86 real mode environment
* Copyright 1999 Egbert Eich * Copyright 1999 Egbert Eich
*/ */
#ifndef XF86X86EMU_H_
#define XF86X86EMU_H_
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef XF86X86EMU_H_
#define XF86X86EMU_H_
#include <x86emu.h> #include <x86emu.h>
#define M _X86EMU_env #define M _X86EMU_env

View File

@ -46,13 +46,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _LOADER_H
#define _LOADER_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _LOADER_H
#define _LOADER_H
#include <X11/Xosdefs.h> #include <X11/Xosdefs.h>
#include <X11/Xfuncproto.h> #include <X11/Xfuncproto.h>
#include <X11/Xmd.h> #include <X11/Xmd.h>

View File

@ -46,13 +46,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _LOADERPROCS_H
#define _LOADERPROCS_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _LOADERPROCS_H
#define _LOADERPROCS_H
#include "xf86Module.h" #include "xf86Module.h"
typedef struct module_desc { typedef struct module_desc {

View File

@ -2,13 +2,13 @@
* Memory range attribute operations, performed on /dev/mem * Memory range attribute operations, performed on /dev/mem
*/ */
#ifndef _MEMRANGE_H
#define _MEMRANGE_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _MEMRANGE_H
#define _MEMRANGE_H
/* Memory range attributes */ /* Memory range attributes */
#define MDF_UNCACHEABLE (1<<0) /* region not cached */ #define MDF_UNCACHEABLE (1<<0) /* region not cached */
#define MDF_WRITECOMBINE (1<<1) /* region supports "write combine" #define MDF_WRITECOMBINE (1<<1) /* region supports "write combine"

View File

@ -99,13 +99,14 @@
* This file has the private Pci definitions. The public ones are imported * This file has the private Pci definitions. The public ones are imported
* from xf86Pci.h. Drivers should not use this file. * from xf86Pci.h. Drivers should not use this file.
*/ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#ifndef _PCI_H #ifndef _PCI_H
#define _PCI_H 1 #define _PCI_H 1
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <X11/Xdefs.h> #include <X11/Xdefs.h>
#include "xf86Pci.h" #include "xf86Pci.h"

View File

@ -21,13 +21,13 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#ifndef _XF86_SBUS_H
#define _XF86_SBUS_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _XF86_SBUS_H
#define _XF86_SBUS_H
#if defined(__linux__) #if defined(__linux__)
#include <asm/types.h> #include <asm/types.h>
#include <linux/fb.h> #include <linux/fb.h>

View File

@ -25,13 +25,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _INT10DEFINES_H_
#define _INT10DEFINES_H_ 1
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _INT10DEFINES_H_
#define _INT10DEFINES_H_ 1
#ifdef _VM86_LINUX #ifdef _VM86_LINUX
#include <asm/vm86.h> #include <asm/vm86.h>

View File

@ -57,13 +57,13 @@
* they should not be visible outside of the parser. * they should not be visible outside of the parser.
*/ */
#ifndef _Configint_h_
#define _Configint_h_
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _Configint_h_
#define _Configint_h_
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -56,12 +56,14 @@
* This file contains the Option Record that is passed between the Parser, * This file contains the Option Record that is passed between the Parser,
* and Module setup procs. * and Module setup procs.
*/ */
#ifndef _xf86Optrec_h_
#define _xf86Optrec_h_
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _xf86Optrec_h_
#define _xf86Optrec_h_
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "xf86Optionstr.h" #include "xf86Optionstr.h"

View File

@ -56,13 +56,14 @@
* This file contains the external interfaces for the XFree86 configuration * This file contains the external interfaces for the XFree86 configuration
* file parser. * file parser.
*/ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#ifndef _xf86Parser_h_ #ifndef _xf86Parser_h_
#define _xf86Parser_h_ #define _xf86Parser_h_
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <X11/Xdefs.h> #include <X11/Xdefs.h>
#include "xf86Optrec.h" #include "xf86Optrec.h"
#include "list.h" #include "list.h"

View File

@ -52,13 +52,13 @@
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef _xf86_tokens_h
#define _xf86_tokens_h
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _xf86_tokens_h
#define _xf86_tokens_h
/* /*
* Each token should have a unique value regardless of the section * Each token should have a unique value regardless of the section
* it is used in. * it is used in.

View File

@ -1,11 +1,10 @@
#ifndef _XF86CURSORPRIV_H
#define _XF86CURSORPRIV_H
#ifdef HAVE_XORG_CONFIG_H #ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#ifndef _XF86CURSORPRIV_H
#define _XF86CURSORPRIV_H
#include "xf86Cursor.h" #include "xf86Cursor.h"
#include "mipointrst.h" #include "mipointrst.h"

View File

@ -1,9 +1,10 @@
#ifndef __XWIN_DDRAW_H
#define __XWIN_DDRAW_H
#ifdef __MINGW64_VERSION_MAJOR #ifdef __MINGW64_VERSION_MAJOR
#include_next <ddraw.h> #include_next <ddraw.h>
#define __XWIN_DDRAW_H #define __XWIN_DDRAW_H
#endif #endif
#ifndef __XWIN_DDRAW_H
#define __XWIN_DDRAW_H
#include <winnt.h> #include <winnt.h>
#include <wingdi.h> #include <wingdi.h>

View File

@ -1,10 +1,10 @@
#ifndef _DISMODEPROC_H_
#define _DISMODEPROC_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _DISMODEPROC_H_
#define _DISMODEPROC_H_
#include "scrnintstr.h" #include "scrnintstr.h"
#define MAXCLOCKS 128 #define MAXCLOCKS 128

View File

@ -22,13 +22,13 @@
* *
*/ */
#ifndef INPUTUTILS_H
#define INPUTUTILS_H
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include "dix-config.h" #include "dix-config.h"
#endif #endif
#ifndef INPUTUTILS_H
#define INPUTUTILS_H
#include "input.h" #include "input.h"
#include "eventstr.h" #include "eventstr.h"
#include <X11/extensions/XI2proto.h> #include <X11/extensions/XI2proto.h>

View File

@ -1,10 +1,10 @@
#ifndef _VIDMODEPROC_H_
#define _VIDMODEPROC_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _VIDMODEPROC_H_
#define _VIDMODEPROC_H_
#include "displaymode.h" #include "displaymode.h"
typedef enum { typedef enum {

View File

@ -71,13 +71,13 @@ SOFTWARE.
* authorization from the copyright holder(s) and author(s). * authorization from the copyright holder(s) and author(s).
*/ */
#ifndef MIINITEXT_H
#define MIINITEXT_H
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef MIINITEXT_H
#define MIINITEXT_H
void ListStaticExtensions(void); void ListStaticExtensions(void);
#endif /* MIINITEXT_H */ #endif /* MIINITEXT_H */

View File

@ -1,11 +1,10 @@
#ifndef __MIOVERLAY_H
#define __MIOVERLAY_H
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef __MIOVERLAY_H
#define __MIOVERLAY_H
typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr); typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr);
typedef Bool (*miOverlayInOverlayFunc) (WindowPtr); typedef Bool (*miOverlayInOverlayFunc) (WindowPtr);

View File

@ -26,12 +26,13 @@ from The Open Group.
*/ */
#ifndef SCANFILLINCLUDED
#define SCANFILLINCLUDED
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef SCANFILLINCLUDED
#define SCANFILLINCLUDED
/* /*
* scanfill.h * scanfill.h
* *

View File

@ -26,13 +26,13 @@ from The Open Group.
*/ */
#ifndef MIVALIDATE_H
#define MIVALIDATE_H
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef MIVALIDATE_H
#define MIVALIDATE_H
#include "regionstr.h" #include "regionstr.h"
typedef union _Validate { typedef union _Validate {

View File

@ -20,13 +20,13 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef _DAMAGE_H_
#define _DAMAGE_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _DAMAGE_H_
#define _DAMAGE_H_
typedef struct _damage *DamagePtr; typedef struct _damage *DamagePtr;
typedef enum _damageReportLevel { typedef enum _damageReportLevel {

View File

@ -20,13 +20,13 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef _DAMAGESTR_H_
#define _DAMAGESTR_H_
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _DAMAGESTR_H_
#define _DAMAGESTR_H_
#include "damage.h" #include "damage.h"
#include "gcstruct.h" #include "gcstruct.h"
#include "privates.h" #include "privates.h"

View File

@ -28,13 +28,13 @@
* use or other dealings in this Software without prior written authorization. * use or other dealings in this Software without prior written authorization.
*/ */
#ifndef _ROOTLESS_H
#define _ROOTLESS_H
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h> #include <dix-config.h>
#endif #endif
#ifndef _ROOTLESS_H
#define _ROOTLESS_H
#include "rootlessConfig.h" #include "rootlessConfig.h"
#include "mi.h" #include "mi.h"
#include "gcstruct.h" #include "gcstruct.h"

Some files were not shown because too many files have changed in this diff Show More