Prefix all of the exported symbols in libwfb.so with "wfb".
For now, just #define all of the exported symbols in wfbrename.h. Later, we should add FBPREFIX() around the exported symbols and use -fvisiblity=hidden to hide the rest.
This commit is contained in:
parent
7608a63ff7
commit
319efac445
|
@ -7,7 +7,7 @@ INCLUDES = \
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
AM_CFLAGS = $(DIX_CFLAGS)
|
||||||
|
|
||||||
if XORG
|
if XORG
|
||||||
sdk_HEADERS = fb.h fbrop.h fbpseudocolor.h fboverlay.h
|
sdk_HEADERS = fb.h fbrop.h fbpseudocolor.h fboverlay.h wfbrename.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if MMX_CAPABLE
|
if MMX_CAPABLE
|
||||||
|
|
1
fb/fb.h
1
fb/fb.h
|
@ -45,6 +45,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FB_ACCESS_WRAPPER
|
#ifdef FB_ACCESS_WRAPPER
|
||||||
|
#include "wfbrename.h"
|
||||||
#define FBPREFIX(x) wfb##x
|
#define FBPREFIX(x) wfb##x
|
||||||
#else
|
#else
|
||||||
#define FBPREFIX(x) fb##x
|
#define FBPREFIX(x) fb##x
|
||||||
|
|
189
fb/wfbrename.h
Normal file
189
fb/wfbrename.h
Normal file
|
@ -0,0 +1,189 @@
|
||||||
|
#define fb16Lane wfb16Lane
|
||||||
|
#define fb24_32CopyMtoN wfb24_32CopyMtoN
|
||||||
|
#define fb24_32CreateScreenResources wfb24_32CreateScreenResources
|
||||||
|
#define fb24_32GetImage wfb24_32GetImage
|
||||||
|
#define fb24_32GetSpans wfb24_32GetSpans
|
||||||
|
#define fb24_32ModifyPixmapHeader wfb24_32ModifyPixmapHeader
|
||||||
|
#define fb24_32PutZImage wfb24_32PutZImage
|
||||||
|
#define fb24_32ReformatTile wfb24_32ReformatTile
|
||||||
|
#define fb24_32SetSpans wfb24_32SetSpans
|
||||||
|
#define fb32Lane wfb32Lane
|
||||||
|
#define fb8Lane wfb8Lane
|
||||||
|
#define fbAddTraps wfbAddTraps
|
||||||
|
#define fbAddTriangles wfbAddTriangles
|
||||||
|
#define fbAllocatePrivates wfbAllocatePrivates
|
||||||
|
#define fbArc16 wfbArc16
|
||||||
|
#define fbArc24 wfbArc24
|
||||||
|
#define fbArc32 wfbArc32
|
||||||
|
#define fbArc8 wfbArc8
|
||||||
|
#define fbBlt wfbBlt
|
||||||
|
#define fbBlt24 wfbBlt24
|
||||||
|
#define fbBltOne wfbBltOne
|
||||||
|
#define fbBltOne24 wfbBltOne24
|
||||||
|
#define fbBltPlane wfbBltPlane
|
||||||
|
#define fbBltStip wfbBltStip
|
||||||
|
#define fbBres wfbBres
|
||||||
|
#define fbBresDash wfbBresDash
|
||||||
|
#define fbBresDash16 wfbBresDash16
|
||||||
|
#define fbBresDash24 wfbBresDash24
|
||||||
|
#define fbBresDash32 wfbBresDash32
|
||||||
|
#define fbBresDash8 wfbBresDash8
|
||||||
|
#define fbBresFill wfbBresFill
|
||||||
|
#define fbBresFillDash wfbBresFillDash
|
||||||
|
#define fbBresSolid wfbBresSolid
|
||||||
|
#define fbBresSolid16 wfbBresSolid16
|
||||||
|
#define fbBresSolid24 wfbBresSolid24
|
||||||
|
#define fbBresSolid32 wfbBresSolid32
|
||||||
|
#define fbBresSolid8 wfbBresSolid8
|
||||||
|
#define fbChangeWindowAttributes wfbChangeWindowAttributes
|
||||||
|
#define fbClearVisualTypes wfbClearVisualTypes
|
||||||
|
#define fbCloseScreen wfbCloseScreen
|
||||||
|
#define fbComposite wfbComposite
|
||||||
|
#define fbCompositeGeneral wfbCompositeGeneral
|
||||||
|
#define fbCompositeSolidMask_nx1xn wfbCompositeSolidMask_nx1xn
|
||||||
|
#define fbCompositeSolidMask_nx8888x0565C wfbCompositeSolidMask_nx8888x0565C
|
||||||
|
#define fbCompositeSolidMask_nx8888x8888C wfbCompositeSolidMask_nx8888x8888C
|
||||||
|
#define fbCompositeSolidMask_nx8x0565 wfbCompositeSolidMask_nx8x0565
|
||||||
|
#define fbCompositeSolidMask_nx8x0888 wfbCompositeSolidMask_nx8x0888
|
||||||
|
#define fbCompositeSolidMask_nx8x8888 wfbCompositeSolidMask_nx8x8888
|
||||||
|
#define fbCompositeSrc_0565x0565 wfbCompositeSrc_0565x0565
|
||||||
|
#define fbCompositeSrc_8888x0565 wfbCompositeSrc_8888x0565
|
||||||
|
#define fbCompositeSrc_8888x0888 wfbCompositeSrc_8888x0888
|
||||||
|
#define fbCompositeSrc_8888x8888 wfbCompositeSrc_8888x8888
|
||||||
|
#define fbCompositeSrcAdd_1000x1000 wfbCompositeSrcAdd_1000x1000
|
||||||
|
#define fbCompositeSrcAdd_8000x8000 wfbCompositeSrcAdd_8000x8000
|
||||||
|
#define fbCompositeSrcAdd_8888x8888 wfbCompositeSrcAdd_8888x8888
|
||||||
|
#define fbCopy1toN wfbCopy1toN
|
||||||
|
#define fbCopyArea wfbCopyArea
|
||||||
|
#define fbCopyNto1 wfbCopyNto1
|
||||||
|
#define fbCopyNtoN wfbCopyNtoN
|
||||||
|
#define fbCopyPlane wfbCopyPlane
|
||||||
|
#define fbCopyRegion wfbCopyRegion
|
||||||
|
#define fbCopyWindow wfbCopyWindow
|
||||||
|
#define fbCopyWindowProc wfbCopyWindowProc
|
||||||
|
#define fbCreateDefColormap wfbCreateDefColormap
|
||||||
|
#define fbCreateGC wfbCreateGC
|
||||||
|
#define fbCreatePixmap wfbCreatePixmap
|
||||||
|
#define fbCreatePixmapBpp wfbCreatePixmapBpp
|
||||||
|
#define fbCreateWindow wfbCreateWindow
|
||||||
|
#define fbDestroyPixmap wfbDestroyPixmap
|
||||||
|
#define fbDestroyWindow wfbDestroyWindow
|
||||||
|
#define fbDoCopy wfbDoCopy
|
||||||
|
#define fbDots wfbDots
|
||||||
|
#define fbDots16 wfbDots16
|
||||||
|
#define fbDots24 wfbDots24
|
||||||
|
#define fbDots32 wfbDots32
|
||||||
|
#define fbDots8 wfbDots8
|
||||||
|
#define fbEvenStipple wfbEvenStipple
|
||||||
|
#define fbEvenTile wfbEvenTile
|
||||||
|
#define fbExpandDirectColors wfbExpandDirectColors
|
||||||
|
#define fbFill wfbFill
|
||||||
|
#define fbFillRegionSolid wfbFillRegionSolid
|
||||||
|
#define fbFillRegionTiled wfbFillRegionTiled
|
||||||
|
#define fbFillSpans wfbFillSpans
|
||||||
|
#define fbFinishScreenInit wfbFinishScreenInit
|
||||||
|
#define fbFixCoordModePrevious wfbFixCoordModePrevious
|
||||||
|
#define fbGCFuncs wfbGCFuncs
|
||||||
|
#define fbGCOps wfbGCOps
|
||||||
|
#define fbGCPrivateIndex wfbGCPrivateIndex
|
||||||
|
#define fbGeneration wfbGeneration
|
||||||
|
#define fbGetGCPrivateIndex wfbGetGCPrivateIndex
|
||||||
|
#define fbGetImage wfbGetImage
|
||||||
|
#define fbGetScreenPrivateIndex wfbGetScreenPrivateIndex
|
||||||
|
#define fbGetSpans wfbGetSpans
|
||||||
|
#define _fbGetWindowPixmap _wfbGetWindowPixmap
|
||||||
|
#define fbGetWinPrivateIndex wfbGetWinPrivateIndex
|
||||||
|
#define fbGlyph16 wfbGlyph16
|
||||||
|
#define fbGlyph24 wfbGlyph24
|
||||||
|
#define fbGlyph32 wfbGlyph32
|
||||||
|
#define fbGlyph8 wfbGlyph8
|
||||||
|
#define fbGlyphIn wfbGlyphIn
|
||||||
|
#define fbImageGlyphBlt wfbImageGlyphBlt
|
||||||
|
#define fbIn wfbIn
|
||||||
|
#define fbInitializeColormap wfbInitializeColormap
|
||||||
|
#define fbInitVisuals wfbInitVisuals
|
||||||
|
#define fbInstallColormap wfbInstallColormap
|
||||||
|
#define fbLaneTable wfbLaneTable
|
||||||
|
#define fbListInstalledColormaps wfbListInstalledColormaps
|
||||||
|
#define fbMapWindow wfbMapWindow
|
||||||
|
#define FbMergeRopBits wFbMergeRopBits
|
||||||
|
#define fbOddStipple wfbOddStipple
|
||||||
|
#define fbOddTile wfbOddTile
|
||||||
|
#define fbOver wfbOver
|
||||||
|
#define fbOver24 wfbOver24
|
||||||
|
#define fbOverlayCloseScreen wfbOverlayCloseScreen
|
||||||
|
#define fbOverlayCopyWindow wfbOverlayCopyWindow
|
||||||
|
#define fbOverlayCreateScreenResources wfbOverlayCreateScreenResources
|
||||||
|
#define fbOverlayCreateWindow wfbOverlayCreateWindow
|
||||||
|
#define fbOverlayFinishScreenInit wfbOverlayFinishScreenInit
|
||||||
|
#define fbOverlayGeneration wfbOverlayGeneration
|
||||||
|
#define fbOverlayGetScreenPrivateIndex wfbOverlayGetScreenPrivateIndex
|
||||||
|
#define fbOverlayPaintKey wfbOverlayPaintKey
|
||||||
|
#define fbOverlayPaintWindow wfbOverlayPaintWindow
|
||||||
|
#define fbOverlayScreenPrivateIndex wfbOverlayScreenPrivateIndex
|
||||||
|
#define fbOverlaySetupScreen wfbOverlaySetupScreen
|
||||||
|
#define fbOverlayUpdateLayerRegion wfbOverlayUpdateLayerRegion
|
||||||
|
#define fbOverlayWindowExposures wfbOverlayWindowExposures
|
||||||
|
#define fbOverlayWindowLayer wfbOverlayWindowLayer
|
||||||
|
#define fbPadPixmap wfbPadPixmap
|
||||||
|
#define fbPaintWindow wfbPaintWindow
|
||||||
|
#define fbPictureInit wfbPictureInit
|
||||||
|
#define fbPixmapToRegion wfbPixmapToRegion
|
||||||
|
#define fbPolyArc wfbPolyArc
|
||||||
|
#define fbPolyFillRect wfbPolyFillRect
|
||||||
|
#define fbPolyGlyphBlt wfbPolyGlyphBlt
|
||||||
|
#define fbPolyLine wfbPolyLine
|
||||||
|
#define fbPolyline16 wfbPolyline16
|
||||||
|
#define fbPolyline24 wfbPolyline24
|
||||||
|
#define fbPolyline32 wfbPolyline32
|
||||||
|
#define fbPolyline8 wfbPolyline8
|
||||||
|
#define fbPolyPoint wfbPolyPoint
|
||||||
|
#define fbPolySegment wfbPolySegment
|
||||||
|
#define fbPolySegment16 wfbPolySegment16
|
||||||
|
#define fbPolySegment24 wfbPolySegment24
|
||||||
|
#define fbPolySegment32 wfbPolySegment32
|
||||||
|
#define fbPolySegment8 wfbPolySegment8
|
||||||
|
#define fbPositionWindow wfbPositionWindow
|
||||||
|
#define fbPushFill wfbPushFill
|
||||||
|
#define fbPushImage wfbPushImage
|
||||||
|
#define fbPushPattern wfbPushPattern
|
||||||
|
#define fbPushPixels wfbPushPixels
|
||||||
|
#define fbPutImage wfbPutImage
|
||||||
|
#define fbPutXYImage wfbPutXYImage
|
||||||
|
#define fbPutZImage wfbPutZImage
|
||||||
|
#define fbQueryBestSize wfbQueryBestSize
|
||||||
|
#define fbRasterizeEdges wfbRasterizeEdges
|
||||||
|
#define fbRasterizeTrapezoid wfbRasterizeTrapezoid
|
||||||
|
#define fbRealizeFont wfbRealizeFont
|
||||||
|
#define fbReduceRasterOp wfbReduceRasterOp
|
||||||
|
#define fbReplicatePixel wfbReplicatePixel
|
||||||
|
#define fbResolveColor wfbResolveColor
|
||||||
|
#define fbRestoreAreas wfbRestoreAreas
|
||||||
|
#define fbSaveAreas wfbSaveAreas
|
||||||
|
#define fbScreenInit wfbScreenInit
|
||||||
|
#define fbScreenPrivateIndex wfbScreenPrivateIndex
|
||||||
|
#define fbSegment wfbSegment
|
||||||
|
#define fbSelectBres wfbSelectBres
|
||||||
|
#define fbSetSpans wfbSetSpans
|
||||||
|
#define fbSetupScreen wfbSetupScreen
|
||||||
|
#define fbSetVisualTypes wfbSetVisualTypes
|
||||||
|
#define _fbSetWindowPixmap _wfbSetWindowPixmap
|
||||||
|
#define fbSolid wfbSolid
|
||||||
|
#define fbSolid24 wfbSolid24
|
||||||
|
#define fbSolidBoxClipped wfbSolidBoxClipped
|
||||||
|
#define fbStipple wfbStipple
|
||||||
|
#define fbStipple1Bits wfbStipple1Bits
|
||||||
|
#define fbStipple24Bits wfbStipple24Bits
|
||||||
|
#define fbStipple2Bits wfbStipple2Bits
|
||||||
|
#define fbStipple4Bits wfbStipple4Bits
|
||||||
|
#define fbStipple8Bits wfbStipple8Bits
|
||||||
|
#define fbStippleTable wfbStippleTable
|
||||||
|
#define fbTile wfbTile
|
||||||
|
#define fbTransparentSpan wfbTransparentSpan
|
||||||
|
#define fbUninstallColormap wfbUninstallColormap
|
||||||
|
#define fbUnmapWindow wfbUnmapWindow
|
||||||
|
#define fbUnrealizeFont wfbUnrealizeFont
|
||||||
|
#define fbValidateGC wfbValidateGC
|
||||||
|
#define fbWinPrivateIndex wfbWinPrivateIndex
|
||||||
|
#define fbZeroLine wfbZeroLine
|
||||||
|
#define fbZeroSegment wfbZeroSegment
|
Loading…
Reference in New Issue
Block a user