summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralanh <alanh>2000-06-12 22:26:20 +0000
committeralanh <alanh>2000-06-12 22:26:20 +0000
commit398c32009b9b91defcc7ddc172c503d75280333f (patch)
treee16246450fae094b91fc82ef2dec7836f4935ed4
parent39c6e4c6d6783e77661d19f3a287b8fb87f2301a (diff)
do it the right way.
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h4
-rw-r--r--xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h
index 9ef168854..a4e4af758 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h
+++ b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.h
@@ -181,6 +181,10 @@ typedef struct {
((PCI_VENDOR_3DLABS << 16) | PCI_CHIP_GAMMA)
/* Prototypes */
+/* Required if the driver supports mode switching */
+Bool GLINTSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
+/* Required if the driver supports moving the viewport */
+void GLINTAdjustFrame(int scrnIndex, int x, int y, int flags);
void Permedia2StoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs);
void Permedia2InstallColormap(ColormapPtr pmap);
diff --git a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c
index 0195bdf1e..e40c37659 100644
--- a/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c
+++ b/xc/programs/Xserver/hw/xfree86/drivers/glint/glint_driver.c
@@ -99,11 +99,6 @@ static void GLINTLeaveVT(int scrnIndex, int flags);
static Bool GLINTCloseScreen(int scrnIndex, ScreenPtr pScreen);
static Bool GLINTSaveScreen(ScreenPtr pScreen, int mode);
-/* Required if the driver supports mode switching */
-Bool GLINTSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
-/* Required if the driver supports moving the viewport */
-void GLINTAdjustFrame(int scrnIndex, int x, int y, int flags);
-
/* Optional functions */
static void GLINTFreeScreen(int scrnIndex, int flags);
static int GLINTValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose,