summaryrefslogtreecommitdiff
path: root/src/init301.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/init301.h')
-rw-r--r--src/init301.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/init301.h b/src/init301.h
index f29b9f8..8a1b66c 100644
--- a/src/init301.h
+++ b/src/init301.h
@@ -54,10 +54,8 @@
#include "osdef.h"
#include "initdef.h"
-#ifdef SIS_XORG_XF86
#include "sis.h"
#include "sis_regs.h"
-#endif
static const unsigned char SiS_YPbPrTable[5][64] = {
{ /* 525i */
@@ -335,21 +333,12 @@ unsigned short SiS_HandleDDC(struct SiS_Private *SiS_Pr, unsigned int VBFlags, i
unsigned short adaptnum, unsigned short DDCdatatype,
unsigned char *buffer, unsigned int VBFlags2);
-#ifdef SIS_XORG_XF86
unsigned short SiS_InitDDCRegs(struct SiS_Private *SiS_Pr, unsigned int VBFlags,
int VGAEngine, unsigned short adaptnum, unsigned short DDCdatatype,
BOOLEAN checkcr32, unsigned int VBFlags2);
unsigned short SiS_ProbeDDC(struct SiS_Private *SiS_Pr);
unsigned short SiS_ReadDDC(struct SiS_Private *SiS_Pr, unsigned short DDCdatatype,
unsigned char *buffer);
-#else
-static unsigned short SiS_InitDDCRegs(struct SiS_Private *SiS_Pr, unsigned int VBFlags,
- int VGAEngine, unsigned short adaptnum, unsigned short DDCdatatype,
- BOOLEAN checkcr32, unsigned int VBFlags2);
-static unsigned short SiS_ProbeDDC(struct SiS_Private *SiS_Pr);
-static unsigned short SiS_ReadDDC(struct SiS_Private *SiS_Pr, unsigned short DDCdatatype,
- unsigned char *buffer);
-#endif
static void SiS_SetSwitchDDC2(struct SiS_Private *SiS_Pr);
static unsigned short SiS_SetStart(struct SiS_Private *SiS_Pr);
static unsigned short SiS_SetStop(struct SiS_Private *SiS_Pr);