diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-06-25 21:16:56 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-06-25 21:16:56 +0000 |
commit | 272bb666f64168eea63bc02f0ee55216fd35a2ad (patch) | |
tree | 2a093392da08196c6151607421b07bd94d30738d | |
parent | c0d8343ed4f9a1c7c74f1ac46c278918e6de8092 (diff) |
Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_14XORG-6_8_99_13
-rw-r--r-- | src/bw2_driver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bw2_driver.c b/src/bw2_driver.c index 00b0072..d813549 100644 --- a/src/bw2_driver.c +++ b/src/bw2_driver.c @@ -52,8 +52,8 @@ static void BW2AdjustFrame(int scrnIndex, int x, int y, int flags); /* Optional functions */ static void BW2FreeScreen(int scrnIndex, int flags); -static int BW2ValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, - int flags); +static ModeStatus BW2ValidMode(int scrnIndex, DisplayModePtr mode, + Bool verbose, int flags); void BW2Sync(ScrnInfoPtr pScrn); @@ -72,7 +72,7 @@ void BW2Sync(ScrnInfoPtr pScrn); * an upper-case version of the driver name. */ -DriverRec SUNBW2 = { +_X_EXPORT DriverRec SUNBW2 = { VERSION, BW2_DRIVER_NAME, BW2Identify, @@ -96,7 +96,7 @@ static XF86ModuleVersionInfo sunbw2VersRec = MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, - XF86_VERSION_CURRENT, + XORG_VERSION_CURRENT, BW2_MAJOR_VERSION, BW2_MINOR_VERSION, BW2_PATCHLEVEL, ABI_CLASS_VIDEODRV, ABI_VIDEODRV_VERSION, @@ -104,7 +104,7 @@ static XF86ModuleVersionInfo sunbw2VersRec = {0,0,0,0} }; -XF86ModuleData sunbw2ModuleData = { &sunbw2VersRec, bw2Setup, NULL }; +_X_EXPORT XF86ModuleData sunbw2ModuleData = { &sunbw2VersRec, bw2Setup, NULL }; pointer bw2Setup(pointer module, pointer opts, int *errmaj, int *errmin) @@ -555,7 +555,7 @@ BW2FreeScreen(int scrnIndex, int flags) /* Checks if a mode is suitable for the selected chipset. */ /* Optional */ -static int +static ModeStatus BW2ValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags) { if (mode->Flags & V_INTERLACE) |