Make visible symbols required by xorg modules.

This patch exports all symbols required by the compilable
(in a x86 linux computer) xorg/driver/* modules.
  Still missing symbols worth mentioning are:

sunleo
	miFindMaxBand no longer available

intel	(uxa/uxa-accel.c)
	fbShmPutImage no longer available (and should have been static)

mga
	MGAGetClientPointer (should come from matrox's libhal)

  This is not a definitive "visibility" patch, as all it does is to
export missing symbols, but the modules that current don't compile,
may require more symbols once fixed, and third party drivers should
also require more symbols exported.
  A "definitive" patch should export symbols defined in the sdk.
This commit is contained in:
Paulo Cesar Pereira de Andrade 2008-11-28 01:55:11 -02:00
commit 31285d063e
45 changed files with 174 additions and 166 deletions

View file

@ -95,27 +95,27 @@ int XAAPatternROP_PM[16] =
ROP_DPo
};
int XAAGetCopyROP(int i)
_X_EXPORT int XAAGetCopyROP(int i)
{
return XAACopyROP[i];
}
int XAAGetCopyROP_PM(int i)
_X_EXPORT int XAAGetCopyROP_PM(int i)
{
return XAACopyROP_PM[i];
}
int XAAGetPatternROP(int i)
_X_EXPORT int XAAGetPatternROP(int i)
{
return XAAPatternROP[i];
}
int XAAGetPatternROP_PM(int i)
_X_EXPORT int XAAGetPatternROP_PM(int i)
{
return XAAPatternROP_PM[i];
}
int
_X_EXPORT int
XAAHelpPatternROP(ScrnInfoPtr pScrn, int *fg, int *bg, int pm, int *rop)
{
XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
@ -150,7 +150,7 @@ XAAHelpPatternROP(ScrnInfoPtr pScrn, int *fg, int *bg, int pm, int *rop)
}
int
_X_EXPORT int
XAAHelpSolidROP(ScrnInfoPtr pScrn, int *fg, int pm, int *rop)
{
XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);