headers: add header guards to files that don't have them yet

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
This commit is contained in:
Alan Coopersmith
2025-07-27 15:34:32 -07:00
parent e2a6afef3d
commit 88a2e1c91f
4 changed files with 20 additions and 0 deletions

View File

@@ -20,6 +20,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef AST_2DTOOL_H
#define AST_2DTOOL_H
/* Eng Capability Definition */
#define ENG_CAP_Sync 0x0001
#define ENG_CAP_ScreenToScreenCopy 0x0002
@@ -623,3 +626,5 @@ typedef struct {
}
Bool bASTGetLineTerm(_LINEInfo *LineInfo, LINEPARAM *dsLineParam);
#endif /* AST_2DTOOL_H */

View File

@@ -20,6 +20,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef AST_CURSOR_H
#define AST_CURSOR_H
#define MAX_HWC_WIDTH 64
#define MAX_HWC_HEIGHT 64
#define HWC_SIZE (MAX_HWC_WIDTH*MAX_HWC_HEIGHT*2)
@@ -37,3 +40,5 @@
#define HWC_SIGNATURE_Y 0x10
#define HWC_SIGNATURE_HOTSPOTX 0x14
#define HWC_SIGNATURE_HOTSPOTY 0x18
#endif /* AST_CURSOR_H */

View File

@@ -20,6 +20,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef AST_MODE_H
#define AST_MODE_H
/* Mode Limitation */
#define MAX_HResolution 1920
#define MAX_VResolution 1200
@@ -132,3 +135,5 @@ typedef struct {
PVBIOS_ENHTABLE_STRUCT pEnhTableEntry;
} VBIOS_MODE_INFO, *PVBIOS_MODE_INFO;
#endif /* AST_MODE_H */

View File

@@ -20,6 +20,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef AST_VGATOOL_H
#define AST_VGATOOL_H
/* VRAM Size Definition */
#define VIDEOMEM_SIZE_08M 0x00800000
#define VIDEOMEM_SIZE_16M 0x01000000
@@ -170,3 +173,5 @@
/* Delay */
#define DelayUS(x) usleep(x)
#define DelayMS(x) DelayUS(1000*x)
#endif /* AST_VGATOOL_H */