Loader: Unexport a handful of consumerless symbols from dixsym.

This commit is contained in:
Adam Jackson 2008-10-06 16:18:21 -04:00
parent 8a5b89e8e1
commit c6d6d3e87a
10 changed files with 15 additions and 36 deletions

View File

@ -1007,7 +1007,7 @@ DeviceIsPointerType(DeviceIntPtr dev)
* *
*/ */
_X_EXPORT void void
AssignTypeAndName(DeviceIntPtr dev, Atom type, char *name) AssignTypeAndName(DeviceIntPtr dev, Atom type, char *name)
{ {
dev->type = type; dev->type = type;

View File

@ -197,7 +197,7 @@ XID clientErrorValue; /* XXX this is a kludge */
#define SAME_SCREENS(a, b) (\ #define SAME_SCREENS(a, b) (\
(a.pScreen == b.pScreen)) (a.pScreen == b.pScreen))
_X_EXPORT void void
SetInputCheck(HWEventQueuePtr c0, HWEventQueuePtr c1) SetInputCheck(HWEventQueuePtr c0, HWEventQueuePtr c1)
{ {
checkForInput[0] = c0; checkForInput[0] = c0;

View File

@ -2767,7 +2767,7 @@ CheckMotion(xEvent *xE, DeviceIntPtr pDev)
* Windows have restructured, we need to update the sprite position and the * Windows have restructured, we need to update the sprite position and the
* sprite's cursor. * sprite's cursor.
*/ */
_X_EXPORT void void
WindowsRestructured(void) WindowsRestructured(void)
{ {
DeviceIntPtr pDev = inputInfo.devices; DeviceIntPtr pDev = inputInfo.devices;

View File

@ -1049,7 +1049,7 @@ FreeDefaultStipple(int screenNum)
(*pScreen->DestroyPixmap)(pScreen->PixmapPerDepth[0]); (*pScreen->DestroyPixmap)(pScreen->PixmapPerDepth[0]);
} }
_X_EXPORT int int
SetDashes(GCPtr pGC, unsigned offset, unsigned ndash, unsigned char *pdash) SetDashes(GCPtr pGC, unsigned offset, unsigned ndash, unsigned char *pdash)
{ {
long i; long i;
@ -1155,7 +1155,7 @@ VerifyRectOrder(int nrects, xRectangle *prects, int ordering)
return -1; return -1;
} }
_X_EXPORT int int
SetClipRects(GCPtr pGC, int xOrigin, int yOrigin, int nrects, SetClipRects(GCPtr pGC, int xOrigin, int yOrigin, int nrects,
xRectangle *prects, int ordering) xRectangle *prects, int ordering)
{ {

View File

@ -111,7 +111,7 @@ CARD32 defaultDPMSStandbyTime = DEFAULT_STANDBY_TIME;
CARD32 defaultDPMSSuspendTime = DEFAULT_SUSPEND_TIME; CARD32 defaultDPMSSuspendTime = DEFAULT_SUSPEND_TIME;
CARD32 defaultDPMSOffTime = DEFAULT_OFF_TIME; CARD32 defaultDPMSOffTime = DEFAULT_OFF_TIME;
_X_EXPORT CARD16 DPMSPowerLevel = 0; _X_EXPORT CARD16 DPMSPowerLevel = 0;
_X_EXPORT Bool defaultDPMSEnabled = DEFAULT_DPMS_ENABLED; Bool defaultDPMSEnabled = DEFAULT_DPMS_ENABLED;
_X_EXPORT Bool DPMSEnabledSwitch = FALSE; /* these denote the DPMS command */ _X_EXPORT Bool DPMSEnabledSwitch = FALSE; /* these denote the DPMS command */
_X_EXPORT Bool DPMSDisabledSwitch = FALSE; /* lind switch states */ _X_EXPORT Bool DPMSDisabledSwitch = FALSE; /* lind switch states */
_X_EXPORT Bool DPMSCapableFlag = FALSE; _X_EXPORT Bool DPMSCapableFlag = FALSE;
@ -142,8 +142,6 @@ CursorPtr rootCursor;
Bool party_like_its_1989 = FALSE; Bool party_like_its_1989 = FALSE;
Bool whiteRoot = FALSE; Bool whiteRoot = FALSE;
_X_EXPORT int cursorScreenDevPriv[MAXSCREENS];
_X_EXPORT TimeStamp currentTime; _X_EXPORT TimeStamp currentTime;
_X_EXPORT TimeStamp lastDeviceEventTime; _X_EXPORT TimeStamp lastDeviceEventTime;

View File

@ -339,7 +339,7 @@ AvailableID(
return 0; return 0;
} }
_X_EXPORT void void
GetXIDRange(int client, Bool server, XID *minp, XID *maxp) GetXIDRange(int client, Bool server, XID *minp, XID *maxp)
{ {
XID id, maxid; XID id, maxid;
@ -390,7 +390,7 @@ GetXIDRange(int client, Bool server, XID *minp, XID *maxp)
* invented, but this will be used so rarely that this should suffice. * invented, but this will be used so rarely that this should suffice.
*/ */
_X_EXPORT unsigned int unsigned int
GetXIDList(ClientPtr pClient, unsigned count, XID *pids) GetXIDList(ClientPtr pClient, unsigned count, XID *pids)
{ {
unsigned int found = 0; unsigned int found = 0;

View File

@ -70,7 +70,7 @@ int (* InitialVector[3]) (
ProcEstablishConnection ProcEstablishConnection
}; };
_X_EXPORT int (* ProcVector[256]) ( int (* ProcVector[256]) (
ClientPtr /* client */ ClientPtr /* client */
) = ) =
{ {
@ -378,7 +378,7 @@ _X_EXPORT EventSwapPtr EventSwapVector[128] =
}; };
_X_EXPORT ReplySwapPtr ReplySwapVector[256] = ReplySwapPtr ReplySwapVector[256] =
{ {
ReplyNotSwappd, ReplyNotSwappd,
ReplyNotSwappd, ReplyNotSwappd,

View File

@ -1518,7 +1518,7 @@ GetWindowAttributes(WindowPtr pWin, ClientPtr client, xGetWindowAttributesReply
} }
_X_EXPORT WindowPtr WindowPtr
MoveWindowInStack(WindowPtr pWin, WindowPtr pNextSib) MoveWindowInStack(WindowPtr pWin, WindowPtr pNextSib)
{ {
WindowPtr pParent = pWin->parent; WindowPtr pParent = pWin->parent;
@ -1628,7 +1628,7 @@ CreateUnclippedWinSize (WindowPtr pWin)
return pRgn; return pRgn;
} }
_X_EXPORT void void
SetWinSize (WindowPtr pWin) SetWinSize (WindowPtr pWin)
{ {
#ifdef COMPOSITE #ifdef COMPOSITE
@ -1669,7 +1669,7 @@ SetWinSize (WindowPtr pWin)
} }
} }
_X_EXPORT void void
SetBorderSize (WindowPtr pWin) SetBorderSize (WindowPtr pWin)
{ {
int bw; int bw;
@ -1773,7 +1773,7 @@ GravityTranslate (int x, int y, int oldx, int oldy,
} }
/* XXX need to retile border on each window with ParentRelative origin */ /* XXX need to retile border on each window with ParentRelative origin */
_X_EXPORT void void
ResizeChildrenWinSize(WindowPtr pWin, int dx, int dy, int dw, int dh) ResizeChildrenWinSize(WindowPtr pWin, int dx, int dy, int dw, int dh)
{ {
ScreenPtr pScreen; ScreenPtr pScreen;
@ -3089,7 +3089,7 @@ NotClippedByChildren(WindowPtr pWin)
return(pReg); return(pReg);
} }
_X_EXPORT void void
SendVisibilityNotify(WindowPtr pWin) SendVisibilityNotify(WindowPtr pWin)
{ {
xEvent event; xEvent event;

View File

@ -112,7 +112,6 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(QueryColors) SYMFUNC(QueryColors)
/* cursor.c */ /* cursor.c */
SYMFUNC(FreeCursor) SYMFUNC(FreeCursor)
SYMVAR(cursorScreenDevPriv)
/* deprecated.c */ /* deprecated.c */
SYMFUNC(LookupClient) SYMFUNC(LookupClient)
SYMFUNC(LookupDrawable) SYMFUNC(LookupDrawable)
@ -139,7 +138,6 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(SendMappingNotify) SYMFUNC(SendMappingNotify)
SYMFUNC(InitPointerDeviceStruct) SYMFUNC(InitPointerDeviceStruct)
/* dispatch.c */ /* dispatch.c */
SYMFUNC(SetInputCheck)
SYMFUNC(SendErrorToClient) SYMFUNC(SendErrorToClient)
SYMFUNC(UpdateCurrentTime) SYMFUNC(UpdateCurrentTime)
SYMFUNC(UpdateCurrentTimeIf) SYMFUNC(UpdateCurrentTimeIf)
@ -175,7 +173,6 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(GetSpritePosition) SYMFUNC(GetSpritePosition)
SYMFUNC(GetSpriteWindow) SYMFUNC(GetSpriteWindow)
SYMFUNC(GetSpriteCursor) SYMFUNC(GetSpriteCursor)
SYMFUNC(WindowsRestructured)
SYMVAR(DeviceEventCallback) SYMVAR(DeviceEventCallback)
SYMVAR(EventCallback) SYMVAR(EventCallback)
SYMVAR(inputInfo) SYMVAR(inputInfo)
@ -210,10 +207,8 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(FreeGC) SYMFUNC(FreeGC)
SYMFUNC(FreeScratchGC) SYMFUNC(FreeScratchGC)
SYMFUNC(GetScratchGC) SYMFUNC(GetScratchGC)
SYMFUNC(SetClipRects)
SYMFUNC(ValidateGC) SYMFUNC(ValidateGC)
SYMFUNC(VerifyRectOrder) SYMFUNC(VerifyRectOrder)
SYMFUNC(SetDashes)
/* globals.c */ /* globals.c */
SYMVAR(ScreenSaverTime) SYMVAR(ScreenSaverTime)
#ifdef DPMSExtension #ifdef DPMSExtension
@ -225,7 +220,6 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMVAR(DPMSSuspendTime) SYMVAR(DPMSSuspendTime)
SYMVAR(DPMSEnabledSwitch) SYMVAR(DPMSEnabledSwitch)
SYMVAR(DPMSDisabledSwitch) SYMVAR(DPMSDisabledSwitch)
SYMVAR(defaultDPMSEnabled)
#endif #endif
#ifdef XV #ifdef XV
/* XXX These are exported from the DDX, not DIX. */ /* XXX These are exported from the DDX, not DIX. */
@ -274,8 +268,6 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(FakeClientID) SYMFUNC(FakeClientID)
SYMFUNC(FreeResource) SYMFUNC(FreeResource)
SYMFUNC(FreeResourceByType) SYMFUNC(FreeResourceByType)
SYMFUNC(GetXIDList)
SYMFUNC(GetXIDRange)
SYMFUNC(LegalNewID) SYMFUNC(LegalNewID)
SYMFUNC(FindClientResourcesByType) SYMFUNC(FindClientResourcesByType)
SYMFUNC(FindAllClientResources) SYMFUNC(FindAllClientResources)
@ -302,8 +294,6 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(SwapColorItem) SYMFUNC(SwapColorItem)
/* tables.c */ /* tables.c */
SYMVAR(EventSwapVector) SYMVAR(EventSwapVector)
SYMVAR(ReplySwapVector)
SYMVAR(ProcVector)
/* window.c */ /* window.c */
SYMFUNC(ChangeWindowAttributes) SYMFUNC(ChangeWindowAttributes)
SYMFUNC(CheckWindowOptionalNeed) SYMFUNC(CheckWindowOptionalNeed)
@ -313,14 +303,9 @@ _X_HIDDEN void *dixLookupTab[] = {
SYMFUNC(GravityTranslate) SYMFUNC(GravityTranslate)
SYMFUNC(MakeWindowOptional) SYMFUNC(MakeWindowOptional)
SYMFUNC(MapWindow) SYMFUNC(MapWindow)
SYMFUNC(MoveWindowInStack)
SYMFUNC(NotClippedByChildren) SYMFUNC(NotClippedByChildren)
SYMFUNC(ResizeChildrenWinSize)
SYMFUNC(SaveScreens) SYMFUNC(SaveScreens)
SYMFUNC(dixSaveScreens) SYMFUNC(dixSaveScreens)
SYMFUNC(SendVisibilityNotify)
SYMFUNC(SetWinSize)
SYMFUNC(SetBorderSize)
SYMFUNC(TraverseTree) SYMFUNC(TraverseTree)
SYMFUNC(UnmapWindow) SYMFUNC(UnmapWindow)
SYMFUNC(WalkTree) SYMFUNC(WalkTree)
@ -455,8 +440,6 @@ _X_HIDDEN void *dixLookupTab[] = {
/* exevents.c */ /* exevents.c */
SYMFUNC(InitValuatorAxisStruct) SYMFUNC(InitValuatorAxisStruct)
SYMFUNC(InitProximityClassDeviceStruct) SYMFUNC(InitProximityClassDeviceStruct)
/* extinit.c */
SYMFUNC(AssignTypeAndName)
/* xf86DGA.c */ /* xf86DGA.c */
/* XXX This is exported from the DDX, not DIX. */ /* XXX This is exported from the DDX, not DIX. */

View File

@ -65,8 +65,6 @@ typedef struct _Cursor *CursorPtr;
typedef struct _CursorMetric *CursorMetricPtr; typedef struct _CursorMetric *CursorMetricPtr;
extern CursorPtr rootCursor; extern CursorPtr rootCursor;
extern int cursorScreenDevPriv[MAXSCREENS];
#define CursorScreenKey(pScreen) (cursorScreenDevPriv + (pScreen)->myNum)
extern int FreeCursor( extern int FreeCursor(
pointer /*pCurs*/, pointer /*pCurs*/,