Add visibility flags to XSERVER_CFLAGS.
This is done to actually change DIX_CFLAGS, as not all "modules" use XORG_CFLAGS. Also export the symbols that are required by other modules after the change.
This commit is contained in:
parent
8c560422b4
commit
180bad8477
|
@ -80,7 +80,7 @@ void XaceHookAuditEnd(ClientPtr ptr, int result)
|
|||
|
||||
/* Entry point for hook functions. Called by Xserver.
|
||||
*/
|
||||
int XaceHook(int hook, ...)
|
||||
_X_EXPORT int XaceHook(int hook, ...)
|
||||
{
|
||||
pointer calldata; /* data passed to callback */
|
||||
int *prv = NULL; /* points to return value from callback */
|
||||
|
|
|
@ -1266,6 +1266,7 @@ if test "x$XORG" = xyes; then
|
|||
if test x$have_visibility != xno; then
|
||||
symbol_visibility=$VISIBILITY_CFLAGS
|
||||
XORG_CFLAGS="$XORG_CFLAGS $VISIBILITY_CFLAGS"
|
||||
XSERVER_CFLAGS="$XSERVER_CFLAGS $VISIBILITY_CFLAGS"
|
||||
fi
|
||||
fi
|
||||
dnl added to xorg-server.pc
|
||||
|
|
14
fb/fbbits.h
14
fb/fbbits.h
|
@ -67,7 +67,7 @@
|
|||
*/
|
||||
|
||||
#ifdef BRESSOLID
|
||||
void
|
||||
_X_EXPORT void
|
||||
BRESSOLID (DrawablePtr pDrawable,
|
||||
GCPtr pGC,
|
||||
int dashOffset,
|
||||
|
@ -123,7 +123,7 @@ BRESSOLID (DrawablePtr pDrawable,
|
|||
#endif
|
||||
|
||||
#ifdef BRESDASH
|
||||
void
|
||||
_X_EXPORT void
|
||||
BRESDASH (DrawablePtr pDrawable,
|
||||
GCPtr pGC,
|
||||
int dashOffset,
|
||||
|
@ -269,7 +269,7 @@ onOffOdd:
|
|||
#endif
|
||||
|
||||
#ifdef DOTS
|
||||
void
|
||||
_X_EXPORT void
|
||||
DOTS (FbBits *dst,
|
||||
FbStride dstStride,
|
||||
int dstBpp,
|
||||
|
@ -329,7 +329,7 @@ DOTS (FbBits *dst,
|
|||
#define ARCCOPY(d) STORE(d,xorBits)
|
||||
#define ARCRROP(d) RROP(d,andBits,xorBits)
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
ARC (FbBits *dst,
|
||||
FbStride dstStride,
|
||||
int dstBpp,
|
||||
|
@ -557,7 +557,7 @@ ARC (FbBits *dst,
|
|||
# define WRITE4(d,n,fg) (WRITE2(d,n,fg), WRITE2(d,(n)+2,fg))
|
||||
#endif
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
GLYPH (FbBits *dstBits,
|
||||
FbStride dstStride,
|
||||
int dstBpp,
|
||||
|
@ -659,7 +659,7 @@ GLYPH (FbBits *dstBits,
|
|||
#endif
|
||||
|
||||
#ifdef POLYLINE
|
||||
void
|
||||
_X_EXPORT void
|
||||
POLYLINE (DrawablePtr pDrawable,
|
||||
GCPtr pGC,
|
||||
int mode,
|
||||
|
@ -797,7 +797,7 @@ POLYLINE (DrawablePtr pDrawable,
|
|||
#endif
|
||||
|
||||
#ifdef POLYSEGMENT
|
||||
void
|
||||
_X_EXPORT void
|
||||
POLYSEGMENT (DrawablePtr pDrawable,
|
||||
GCPtr pGC,
|
||||
int nseg,
|
||||
|
|
|
@ -129,7 +129,7 @@ fbGlyphIn (RegionPtr pRegion,
|
|||
#define CASE(a,b,c,d) (a | (b << 1) | (c << 2) | (d << 3))
|
||||
#endif
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
fbGlyph24 (FbBits *dstBits,
|
||||
FbStride dstStride,
|
||||
int dstBpp,
|
||||
|
|
|
@ -223,7 +223,7 @@ glxGetScreen(ScreenPtr pScreen)
|
|||
return dixLookupPrivate(&pScreen->devPrivates, glxScreenPrivateKey);
|
||||
}
|
||||
|
||||
void GlxSetVisualConfigs(int nconfigs,
|
||||
_X_EXPORT void GlxSetVisualConfigs(int nconfigs,
|
||||
__GLXvisualConfig *configs, void **privates)
|
||||
{
|
||||
/* We keep this stub around for the DDX drivers that still
|
||||
|
|
|
@ -370,7 +370,7 @@ _X_HIDDEN void *dixLookupTab[] = {
|
|||
SYMVAR(noXFixesExtension)
|
||||
#endif
|
||||
#ifdef XKB
|
||||
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
||||
/* noXkbExtension is defined in xkb/xkbInit.c */
|
||||
SYMVAR(noXkbExtension)
|
||||
#endif
|
||||
#ifdef PANORAMIX
|
||||
|
|
|
@ -95,7 +95,7 @@ xf86MapVidMem(int ScreenNum,int Flags, unsigned long Base, unsigned long Size)
|
|||
return (pointer)addr;
|
||||
}
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
xf86UnMapVidMem(int ScreenNum,pointer Base,unsigned long Size)
|
||||
{
|
||||
kern_return_t err = vm_deallocate(mach_task_self(), (int)Base, Size);
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
|
||||
#endif
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
FUNC (ScreenPtr pScreen,
|
||||
shadowBufPtr pBuf)
|
||||
{
|
||||
|
|
|
@ -175,7 +175,7 @@ _X_EXPORT Bool noXFree86VidModeExtension = FALSE;
|
|||
#ifdef XFIXES
|
||||
_X_EXPORT Bool noXFixesExtension = FALSE;
|
||||
#endif
|
||||
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
||||
/* noXkbExtension is defined in xkb/xkbInit.c */
|
||||
#ifdef PANORAMIX
|
||||
/* Xinerama is disabled by default unless enabled via +xinerama */
|
||||
_X_EXPORT Bool noPanoramiXExtension = TRUE;
|
||||
|
|
|
@ -34,7 +34,7 @@ extern int RenderErrBase;
|
|||
#include <gcstruct.h>
|
||||
#include <window.h>
|
||||
|
||||
RESTYPE RegionResType;
|
||||
_X_EXPORT RESTYPE RegionResType;
|
||||
|
||||
static int
|
||||
RegionResFree (pointer data, XID id)
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
static unsigned char XFixesReqCode;
|
||||
int XFixesEventBase;
|
||||
int XFixesErrorBase;
|
||||
_X_EXPORT int XFixesErrorBase;
|
||||
|
||||
static int XFixesClientPrivateKeyIndex;
|
||||
static DevPrivateKey XFixesClientPrivateKey = &XFixesClientPrivateKeyIndex;
|
||||
|
|
Loading…
Reference in New Issue