From 010d6effa6fa210251b12459882e88aeee82c2c0 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 15 Feb 2006 19:15:32 +0000 Subject: [PATCH] Mark everything in {ext,font}sym.c as _X_EXPORT. --- ChangeLog | 6 ++++++ Xext/panoramiX.c | 22 +++++++++++----------- Xext/shm.c | 6 +++--- Xext/sleepuntil.c | 2 +- dix/atom.c | 2 +- 5 files changed, 22 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4a3f511e..4a9427f20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -36,6 +36,12 @@ * render/miglyph.c: Mark everything in misym.c as _X_EXPORT. + * Xext/panoramiX.c: + * Xext/shm.c: + * Xext/sleepuntil.c: + * dix/atom.c: + Mark everything in {ext,font}sym.c as _X_EXPORT. + 2006-02-15 Kristian Høgsberg * GL/symlink-mesa.sh: diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 33faedc57..e6d291718 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -76,10 +76,10 @@ static unsigned char PanoramiXReqCode = 0; int PanoramiXPixWidth = 0; int PanoramiXPixHeight = 0; -int PanoramiXNumScreens = 0; +_X_EXPORT int PanoramiXNumScreens = 0; -PanoramiXData *panoramiXdataPtr = NULL; -RegionRec PanoramiXScreenRegion = {{0, 0, 0, 0}, NULL}; +_X_EXPORT PanoramiXData *panoramiXdataPtr = NULL; +RegionRec PanoramiXScreenRegion = {{0, 0, 0, 0}, NULL}; static int PanoramiXNumDepths; static DepthPtr PanoramiXDepths; @@ -87,13 +87,13 @@ static int PanoramiXNumVisuals; static VisualPtr PanoramiXVisuals; /* We support at most 256 visuals */ -XID *PanoramiXVisualTable = NULL; +_X_EXPORT XID *PanoramiXVisualTable = NULL; -unsigned long XRC_DRAWABLE; -unsigned long XRT_WINDOW; -unsigned long XRT_PIXMAP; -unsigned long XRT_GC; -unsigned long XRT_COLORMAP; +_X_EXPORT unsigned long XRC_DRAWABLE; +_X_EXPORT unsigned long XRT_WINDOW; +_X_EXPORT unsigned long XRT_PIXMAP; +_X_EXPORT unsigned long XRT_GC; +_X_EXPORT unsigned long XRT_COLORMAP; /* * Function prototypes @@ -334,7 +334,7 @@ XineramaDestroyClip(GCPtr pGC) -int +_X_EXPORT int XineramaDeleteResource(pointer data, XID id) { xfree(data); @@ -415,7 +415,7 @@ typedef struct _connect_callback_list { static XineramaConnectionCallbackList *ConnectionCallbackList = NULL; -Bool +_X_EXPORT Bool XineramaRegisterConnectionBlockCallback(void (*func)(void)) { XineramaConnectionCallbackList *newlist; diff --git a/Xext/shm.c b/Xext/shm.c index 3a8f067fc..e56d45e8e 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -112,9 +112,9 @@ static DISPATCH_PROC(SProcShmPutImage); static DISPATCH_PROC(SProcShmQueryVersion); static unsigned char ShmReqCode; -int ShmCompletionCode; -int BadShmSegCode; -RESTYPE ShmSegType; +_X_EXPORT int ShmCompletionCode; +_X_EXPORT int BadShmSegCode; +_X_EXPORT RESTYPE ShmSegType; static ShmDescPtr Shmsegs; static Bool sharedPixmaps; static int pixmapFormat; diff --git a/Xext/sleepuntil.c b/Xext/sleepuntil.c index 8e0008cab..30be8c001 100644 --- a/Xext/sleepuntil.c +++ b/Xext/sleepuntil.c @@ -79,7 +79,7 @@ static void SertafiedWakeupHandler( pointer /* LastSelectMask */ ); -int +_X_EXPORT int ClientSleepUntil (client, revive, notifyFunc, closure) ClientPtr client; TimeStamp *revive; diff --git a/dix/atom.c b/dix/atom.c index 207174280..d78fa566c 100644 --- a/dix/atom.c +++ b/dix/atom.c @@ -157,7 +157,7 @@ ValidAtom(Atom atom) return (atom != None) && (atom <= lastAtom); } -char * +_X_EXPORT char * NameForAtom(Atom atom) { NodePtr node;