diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-06-25 21:16:57 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-06-25 21:16:57 +0000 |
commit | 3029aa5f0ab310e4b3d7e62cd3e6f383681bde94 (patch) | |
tree | 3b0020ea5936386e0a30a57735c35a877bbf8867 /src | |
parent | 6bd60940eeaec5dc9530a21efd168ec164dde706 (diff) |
Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_14XORG-6_8_99_13
Diffstat (limited to 'src')
-rw-r--r-- | src/tcx_driver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tcx_driver.c b/src/tcx_driver.c index 83a1947..714cafe 100644 --- a/src/tcx_driver.c +++ b/src/tcx_driver.c @@ -53,8 +53,8 @@ static void TCXAdjustFrame(int scrnIndex, int x, int y, int flags); /* Optional functions */ static void TCXFreeScreen(int scrnIndex, int flags); -static int TCXValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, - int flags); +static ModeStatus TCXValidMode(int scrnIndex, DisplayModePtr mode, + Bool verbose, int flags); void TCXSync(ScrnInfoPtr pScrn); @@ -73,7 +73,7 @@ void TCXSync(ScrnInfoPtr pScrn); * an upper-case version of the driver name. */ -DriverRec SUNTCX = { +_X_EXPORT DriverRec SUNTCX = { VERSION, TCX_DRIVER_NAME, TCXIdentify, @@ -104,7 +104,7 @@ static XF86ModuleVersionInfo suntcxVersRec = MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, - XF86_VERSION_CURRENT, + XORG_VERSION_CURRENT, TCX_MAJOR_VERSION, TCX_MINOR_VERSION, TCX_PATCHLEVEL, ABI_CLASS_VIDEODRV, ABI_VIDEODRV_VERSION, @@ -112,7 +112,7 @@ static XF86ModuleVersionInfo suntcxVersRec = {0,0,0,0} }; -XF86ModuleData suntcxModuleData = { &suntcxVersRec, tcxSetup, NULL }; +_X_EXPORT XF86ModuleData suntcxModuleData = { &suntcxVersRec, tcxSetup, NULL }; pointer tcxSetup(pointer module, pointer opts, int *errmaj, int *errmin) @@ -720,7 +720,7 @@ TCXFreeScreen(int scrnIndex, int flags) /* Checks if a mode is suitable for the selected chipset. */ /* Optional */ -static int +static ModeStatus TCXValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags) { if (mode->Flags & V_INTERLACE) |