wfb: Hide init function decls behind FB_ACCESS_WRAPPER
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
790c1c0b10
commit
706e6d9cd0
5
fb/fb.h
5
fb/fb.h
|
@ -1192,8 +1192,8 @@ extern _X_EXPORT Bool
|
||||||
int dpiy, int width, /* pixel width of frame buffer */
|
int dpiy, int width, /* pixel width of frame buffer */
|
||||||
int bpp); /* bits per pixel of frame buffer */
|
int bpp); /* bits per pixel of frame buffer */
|
||||||
|
|
||||||
|
#ifdef FB_ACCESS_WRAPPER
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
|
|
||||||
wfbFinishScreenInit(ScreenPtr pScreen,
|
wfbFinishScreenInit(ScreenPtr pScreen,
|
||||||
void *pbits,
|
void *pbits,
|
||||||
int xsize,
|
int xsize,
|
||||||
|
@ -1205,7 +1205,6 @@ wfbFinishScreenInit(ScreenPtr pScreen,
|
||||||
SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap);
|
SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap);
|
||||||
|
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
|
|
||||||
wfbScreenInit(ScreenPtr pScreen,
|
wfbScreenInit(ScreenPtr pScreen,
|
||||||
void *pbits,
|
void *pbits,
|
||||||
int xsize,
|
int xsize,
|
||||||
|
@ -1215,9 +1214,9 @@ wfbScreenInit(ScreenPtr pScreen,
|
||||||
int width,
|
int width,
|
||||||
int bpp,
|
int bpp,
|
||||||
SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap);
|
SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap);
|
||||||
|
#endif
|
||||||
|
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
|
|
||||||
fbFinishScreenInit(ScreenPtr pScreen,
|
fbFinishScreenInit(ScreenPtr pScreen,
|
||||||
void *pbits,
|
void *pbits,
|
||||||
int xsize,
|
int xsize,
|
||||||
|
|
Loading…
Reference in New Issue