hw: add/fix include guards where missing/broken
Skipped headers designed for multiple or non-trivial inclusion: * hw/xfree86/dri2/pci_ids/i810_pci_ids.h * hw/xfree86/dri2/pci_ids/i915_pci_ids.h * hw/xfree86/dri2/pci_ids/i965_pci_ids.h * hw/xfree86/dri2/pci_ids/r200_pci_ids.h * hw/xfree86/dri2/pci_ids/r300_pci_ids.h * hw/xfree86/dri2/pci_ids/r600_pci_ids.h * hw/xfree86/dri2/pci_ids/radeon_pci_ids.h * hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h * hw/xfree86/dri2/pci_ids/virtio_gpu_pci_ids.h * hw/xfree86/dri2/pci_ids/vmwgfx_pci_ids.h Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
This commit is contained in:
		
							parent
							
								
									166d1b5e6b
								
							
						
					
					
						commit
						c06a2a3ed7
					
				| 
						 | 
					@ -21,6 +21,9 @@
 | 
				
			||||||
 * IN THE SOFTWARE.
 | 
					 * IN THE SOFTWARE.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_KDRIVE_EPHYR_GLAMOR_H
 | 
				
			||||||
 | 
					#define XSERVER_KDRIVE_EPHYR_GLAMOR_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <xcb/xcb.h>
 | 
					#include <xcb/xcb.h>
 | 
				
			||||||
#include "dix-config.h"
 | 
					#include "dix-config.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -63,3 +66,5 @@ ephyr_glamor_damage_redisplay(struct ephyr_glamor *glamor,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif /* !GLAMOR */
 | 
					#endif /* !GLAMOR */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_KDRIVE_EPHYR_GLAMOR_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,6 +24,9 @@
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XFREE86_XF86VGAARBITERPRIV_H
 | 
				
			||||||
 | 
					#define XSERVER_XFREE86_XF86VGAARBITERPRIV_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_XORG_CONFIG_H
 | 
					#ifdef HAVE_XORG_CONFIG_H
 | 
				
			||||||
#include <xorg-config.h>
 | 
					#include <xorg-config.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					@ -273,3 +276,5 @@ static void VGAarbiterGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
 | 
				
			||||||
static void VGAarbiterCompositeRects(CARD8 op, PicturePtr pDst,
 | 
					static void VGAarbiterCompositeRects(CARD8 op, PicturePtr pDst,
 | 
				
			||||||
                                     xRenderColor * color, int nRect,
 | 
					                                     xRenderColor * color, int nRect,
 | 
				
			||||||
                                     xRectangle *rects);
 | 
					                                     xRectangle *rects);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XFREE86_XF86VGAARBITERPRIV_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,4 +23,9 @@
 | 
				
			||||||
 * Author: Daniel Stone <daniel@fooishbar.org>
 | 
					 * Author: Daniel Stone <daniel@fooishbar.org>
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XFREE86_DRI2INT_H
 | 
				
			||||||
 | 
					#define XSERVER_XFREE86_DRI2INT_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern Bool DRI2ModuleSetup(void);
 | 
					extern Bool DRI2ModuleSetup(void);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XFREE86_DRI2INT_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,6 +29,9 @@
 | 
				
			||||||
 *   Aaron Plattner <aplattner@nvidia.com>
 | 
					 *   Aaron Plattner <aplattner@nvidia.com>
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XFREE86_DRIVER_H
 | 
				
			||||||
 | 
					#define XSERVER_XFREE86_DRIVER_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
#include <drm.h>
 | 
					#include <drm.h>
 | 
				
			||||||
#include <xf86drm.h>
 | 
					#include <xf86drm.h>
 | 
				
			||||||
| 
						 | 
					@ -261,3 +264,5 @@ void ms_drain_drm_events(ScreenPtr screen);
 | 
				
			||||||
Bool ms_window_has_variable_refresh(modesettingPtr ms, WindowPtr win);
 | 
					Bool ms_window_has_variable_refresh(modesettingPtr ms, WindowPtr win);
 | 
				
			||||||
void ms_present_set_screen_vrr(ScrnInfoPtr scrn, Bool vrr_enabled);
 | 
					void ms_present_set_screen_vrr(ScrnInfoPtr scrn, Bool vrr_enabled);
 | 
				
			||||||
Bool ms_tearfree_is_active_on_crtc(xf86CrtcPtr crtc);
 | 
					Bool ms_tearfree_is_active_on_crtc(xf86CrtcPtr crtc);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XFREE86_DRIVER_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,6 +29,7 @@
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef _VBE_MODES_H
 | 
					#ifndef _VBE_MODES_H
 | 
				
			||||||
 | 
					#define _VBE_MODES_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * This is intended to be stored in the DisplayModeRec's private area.
 | 
					 * This is intended to be stored in the DisplayModeRec's private area.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,6 +29,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* exported functions are/were used by the X Server */
 | 
					/* exported functions are/were used by the X Server */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XFREE86_CONFIGPROCS_H
 | 
				
			||||||
 | 
					#define XSERVER_XFREE86_CONFIGPROCS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <X11/Xfuncproto.h>
 | 
					#include <X11/Xfuncproto.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Device.c */
 | 
					/* Device.c */
 | 
				
			||||||
| 
						 | 
					@ -146,3 +149,5 @@ xf86freeExtensions(XF86ConfExtensionsPtr ptr);
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
ErrorF(const char *f, ...);
 | 
					ErrorF(const char *f, ...);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XFREE86_CONFIGPROCS_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,6 +6,9 @@
 | 
				
			||||||
//  Copyright (c) 2021 Apple Inc. All rights reserved.
 | 
					//  Copyright (c) 2021 Apple Inc. All rights reserved.
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XQUARTZ_NSUSERDEFAULTS_XQUARTZDEFAULTS_H
 | 
				
			||||||
 | 
					#define XSERVER_XQUARTZ_NSUSERDEFAULTS_XQUARTZDEFAULTS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#import <Foundation/Foundation.h>
 | 
					#import <Foundation/Foundation.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern NSString * const XQuartzPrefKeyAppsMenu;
 | 
					extern NSString * const XQuartzPrefKeyAppsMenu;
 | 
				
			||||||
| 
						 | 
					@ -47,3 +50,5 @@ extern NSString * const XQuartzPrefKeySyncPrimaryOnSelect;
 | 
				
			||||||
+ (NSUserDefaults *)xquartzDefaults;
 | 
					+ (NSUserDefaults *)xquartzDefaults;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@end
 | 
					@end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XQUARTZ_NSUSERDEFAULTS_XQUARTZDEFAULTS_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,6 +28,8 @@
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef DRIWRAP_H
 | 
					#ifndef DRIWRAP_H
 | 
				
			||||||
 | 
					#define DRIWRAP_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "scrnintstr.h"
 | 
					#include "scrnintstr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Bool
 | 
					Bool
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,9 +4,14 @@
 | 
				
			||||||
 * Authors: Alexander Gottwald
 | 
					 * Authors: Alexander Gottwald
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XWIN_WINPRIV_H
 | 
				
			||||||
 | 
					#define XSERVER_XWIN_WINPRIV_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <X11/Xwindows.h>
 | 
					#include <X11/Xwindows.h>
 | 
				
			||||||
#include <windowstr.h>
 | 
					#include <windowstr.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HWND winGetWindowInfo(WindowPtr pWin);
 | 
					HWND winGetWindowInfo(WindowPtr pWin);
 | 
				
			||||||
Bool winCheckScreenAiglxIsSupported(ScreenPtr pScreen);
 | 
					Bool winCheckScreenAiglxIsSupported(ScreenPtr pScreen);
 | 
				
			||||||
void winSetScreenAiglxIsActive(ScreenPtr pScreen);
 | 
					void winSetScreenAiglxIsActive(ScreenPtr pScreen);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XWIN_WINPRIV_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,8 +19,13 @@
 | 
				
			||||||
 * IN THE SOFTWARE.
 | 
					 * IN THE SOFTWARE.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XWIN_WINAUTH_H
 | 
				
			||||||
 | 
					#define XSERVER_XWIN_WINAUTH_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <xcb/xcb.h>
 | 
					#include <xcb/xcb.h>
 | 
				
			||||||
#include <X11/Xmd.h> // for BOOL
 | 
					#include <X11/Xmd.h> // for BOOL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BOOL winGenerateAuthorization(void);
 | 
					BOOL winGenerateAuthorization(void);
 | 
				
			||||||
xcb_auth_info_t * winGetXcbAuthInfo(void);
 | 
					xcb_auth_info_t * winGetXcbAuthInfo(void);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XWIN_WINAUTH_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,6 +27,9 @@
 | 
				
			||||||
 * XKB settings.
 | 
					 * XKB settings.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XWIN_WINLAYOUTS_H
 | 
				
			||||||
 | 
					#define XSERVER_XWIN_WINLAYOUTS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct {
 | 
					typedef struct {
 | 
				
			||||||
    unsigned int winlayout;
 | 
					    unsigned int winlayout;
 | 
				
			||||||
    int winkbtype;
 | 
					    int winkbtype;
 | 
				
			||||||
| 
						 | 
					@ -98,3 +101,5 @@ WinKBLayoutRec winKBLayouts[] = {
 | 
				
			||||||
  See http://technet.microsoft.com/en-us/library/cc766503%28WS.10%29.aspx
 | 
					  See http://technet.microsoft.com/en-us/library/cc766503%28WS.10%29.aspx
 | 
				
			||||||
  for a listing of input locale (keyboard layout) codes
 | 
					  for a listing of input locale (keyboard layout) codes
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XWIN_WINLAYOUTS_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,6 +27,9 @@ from The Open Group.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef XSERVER_XWIN_WINMONITORS_H
 | 
				
			||||||
 | 
					#define XSERVER_XWIN_WINMONITORS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* data returned for monitor information */
 | 
					/* data returned for monitor information */
 | 
				
			||||||
struct GetMonitorInfoData {
 | 
					struct GetMonitorInfoData {
 | 
				
			||||||
    int requestedMonitor;
 | 
					    int requestedMonitor;
 | 
				
			||||||
| 
						 | 
					@ -41,3 +44,5 @@ struct GetMonitorInfoData {
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Bool QueryMonitor(int i, struct GetMonitorInfoData *data);
 | 
					Bool QueryMonitor(int i, struct GetMonitorInfoData *data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#endif /* XSERVER_XWIN_WINMONITORS_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue