summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-10 00:32:34 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-10 00:36:41 -0200
commitaa71ac1dd4697738752c73fe4c106b665ea3ec25 (patch)
tree25fb376f6dbfa49bd3f2c07060fa1702981ee9bd /miext
parent090f63123975220819d531f569df6e5787607ec6 (diff)
Add dependency tracking to sdksyms.c and export composite wrapper.
Thanks to David Miller for noticing a make problem with sdksyms.c not being regenerated when sdksyms.sh is updated. This is not yet the best solution; automake generates dependency for sdksyms.o, but the build really should also regenerate sdksyms.c when sdksyms.o needs to be regenerated. Export the symbols in miext/cw/cw.h. These symbols are in libxaa, and at least the nvidia driver uses them. Maybe cw.h should be installed in the sdk.
Diffstat (limited to 'miext')
-rw-r--r--miext/cw/cw.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/miext/cw/cw.h b/miext/cw/cw.h
index 145f3492c..ae65503f5 100644
--- a/miext/cw/cw.h
+++ b/miext/cw/cw.h
@@ -44,7 +44,7 @@ typedef struct {
GCFuncs *wrapFuncs; /* wrapped funcs */
} cwGCRec, *cwGCPtr;
-extern DevPrivateKey cwGCKey;
+extern _X_EXPORT DevPrivateKey cwGCKey;
#define getCwGC(pGC) ((cwGCPtr)dixLookupPrivate(&(pGC)->devPrivates, cwGCKey))
#define setCwGC(pGC,p) dixSetPrivate(&(pGC)->devPrivates, cwGCKey, p)
@@ -64,8 +64,8 @@ typedef struct {
(cwPicturePtr)dixLookupPrivate(&(pPicture)->devPrivates, cwPictureKey) : 0)
#define setCwPicture(pPicture,p) dixSetPrivate(&(pPicture)->devPrivates, cwPictureKey, p)
-extern DevPrivateKey cwPictureKey;
-extern DevPrivateKey cwWindowKey;
+extern _X_EXPORT DevPrivateKey cwPictureKey;
+extern _X_EXPORT DevPrivateKey cwWindowKey;
#define cwWindowPrivate(pWin) dixLookupPrivate(&(pWin)->devPrivates, cwWindowKey)
#define getCwPixmap(pWindow) ((PixmapPtr) cwWindowPrivate(pWindow))
@@ -110,7 +110,7 @@ typedef struct {
#endif
} cwScreenRec, *cwScreenPtr;
-extern DevPrivateKey cwScreenKey;
+extern _X_EXPORT DevPrivateKey cwScreenKey;
#define getCwScreen(pScreen) ((cwScreenPtr)dixLookupPrivate(&(pScreen)->devPrivates, cwScreenKey))
#define setCwScreen(pScreen,p) dixSetPrivate(&(pScreen)->devPrivates, cwScreenKey, p)
@@ -151,18 +151,18 @@ extern DevPrivateKey cwScreenKey;
} while (0)
/* cw.c */
-DrawablePtr
+extern _X_EXPORT DrawablePtr
cwGetBackingDrawable(DrawablePtr pDrawable, int *x_off, int *y_off);
/* cw_render.c */
-void
+extern _X_EXPORT void
cwInitializeRender (ScreenPtr pScreen);
-void
+extern _X_EXPORT void
cwFiniRender (ScreenPtr pScreen);
/* cw.c */
-void
+extern _X_EXPORT void
miInitializeCompositeWrapper(ScreenPtr pScreen);