diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-07-28 19:09:16 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-07-28 19:09:16 -0300 |
commit | 8341f8b0298eef41ff9db582305e3b7006cdf27a (patch) | |
tree | f8c45afd3f2249522cabb022f35adf074c68ab4e /src | |
parent | 5dfd5d1772e2119c6b54f4548ae359cc9483e8fc (diff) |
Export symbols used by different cirrus driver modules.
Symbols are used by cirrus_drv.so, cirrus_alpine.so, and cirrus_laguna.so.
These must have public visibility if compiling with hidden symbols.
Diffstat (limited to 'src')
-rw-r--r-- | src/CirrusClk.c | 2 | ||||
-rw-r--r-- | src/cir_dga.c | 2 | ||||
-rw-r--r-- | src/cir_driver.c | 8 | ||||
-rw-r--r-- | src/cir_shadow.c | 12 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/CirrusClk.c b/src/CirrusClk.c index f23fde8..a3590c9 100644 --- a/src/CirrusClk.c +++ b/src/CirrusClk.c @@ -88,7 +88,7 @@ static cirrusClockRec cirrusClockTab[] = { * use the tested clock since others can be unstable. */ -Bool +_X_EXPORT Bool CirrusFindClock(int *rfreq, int max_clock, int *num_out, int *den_out) { int n, i; diff --git a/src/cir_dga.c b/src/cir_dga.c index bedb796..bc98df6 100644 --- a/src/cir_dga.c +++ b/src/cir_dga.c @@ -67,7 +67,7 @@ DGAFunctionRec CirDGAFuncs = { -Bool +_X_EXPORT Bool CirDGAInit(ScreenPtr pScreen) { ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; diff --git a/src/cir_driver.c b/src/cir_driver.c index 1942b15..0ce058d 100644 --- a/src/cir_driver.c +++ b/src/cir_driver.c @@ -93,7 +93,7 @@ SymTabRec CIRChipsets[] = { }; /* List of PCI chipset names */ -PciChipsets CIRPciChipsets[] = { +_X_EXPORT PciChipsets CIRPciChipsets[] = { { PCI_CHIP_GD5430, PCI_CHIP_GD5430, RES_SHARED_VGA }, { PCI_CHIP_GD5434_4,PCI_CHIP_GD5434_4, RES_SHARED_VGA }, { PCI_CHIP_GD5434_8,PCI_CHIP_GD5434_8, RES_SHARED_VGA }, @@ -320,7 +320,7 @@ CIRProbe(DriverPtr drv, int flags) * Map the framebuffer and MMIO memory. */ -Bool +_X_EXPORT Bool CirMapMem(CirPtr pCir, int scrnIndex) { int mmioFlags; @@ -410,7 +410,7 @@ CirMapMem(CirPtr pCir, int scrnIndex) * Unmap the framebuffer and MMIO memory. */ -Bool +_X_EXPORT Bool CirUnmapMem(CirPtr pCir, int scrnIndex) { #ifdef CIR_DEBUG @@ -438,7 +438,7 @@ CirUnmapMem(CirPtr pCir, int scrnIndex) return TRUE; } -void +_X_EXPORT void cirProbeDDC(ScrnInfoPtr pScrn, int index) { vbeInfoPtr pVbe; diff --git a/src/cir_shadow.c b/src/cir_shadow.c index a7964cd..e8b8d35 100644 --- a/src/cir_shadow.c +++ b/src/cir_shadow.c @@ -19,7 +19,7 @@ #include "cir.h" #include "alp.h" -void +_X_EXPORT void cirRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox) { CirPtr pCir = CIRPTR(pScrn); @@ -46,7 +46,7 @@ cirRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox) } } -void +_X_EXPORT void cirPointerMoved(int index, int x, int y) { ScrnInfoPtr pScrn = xf86Screens[index]; @@ -64,7 +64,7 @@ cirPointerMoved(int index, int x, int y) (*pCir->PointerMoved)(index, newX, newY); } -void +_X_EXPORT void cirRefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox) { CirPtr pCir = CIRPTR(pScrn); @@ -110,7 +110,7 @@ cirRefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox) } -void +_X_EXPORT void cirRefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox) { CirPtr pCir = CIRPTR(pScrn); @@ -157,7 +157,7 @@ cirRefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox) /* this one could be faster */ -void +_X_EXPORT void cirRefreshArea24(ScrnInfoPtr pScrn, int num, BoxPtr pbox) { CirPtr pCir = CIRPTR(pScrn); @@ -208,7 +208,7 @@ cirRefreshArea24(ScrnInfoPtr pScrn, int num, BoxPtr pbox) } } -void +_X_EXPORT void cirRefreshArea32(ScrnInfoPtr pScrn, int num, BoxPtr pbox) { CirPtr pCir = CIRPTR(pScrn); |