summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-02-16 13:00:24 -0500
committerAdam Jackson <ajax@redhat.com>2017-02-16 15:10:24 -0500
commit706e6d9cd074da606016ed4ecff51e9c2a822087 (patch)
tree121022a9407c536cfc11e8069ca4c4a1e4158c70 /fb
parent790c1c0b10968776440a962e1fc6d1d3157b1559 (diff)
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>
Diffstat (limited to 'fb')
-rw-r--r--fb/fb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fb/fb.h b/fb/fb.h
index c687aa7a0..d5db710bc 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -1192,8 +1192,8 @@ extern _X_EXPORT Bool
int dpiy, int width, /* pixel width of frame buffer */
int bpp); /* bits per pixel of frame buffer */
+#ifdef FB_ACCESS_WRAPPER
extern _X_EXPORT Bool
-
wfbFinishScreenInit(ScreenPtr pScreen,
void *pbits,
int xsize,
@@ -1205,7 +1205,6 @@ wfbFinishScreenInit(ScreenPtr pScreen,
SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap);
extern _X_EXPORT Bool
-
wfbScreenInit(ScreenPtr pScreen,
void *pbits,
int xsize,
@@ -1215,9 +1214,9 @@ wfbScreenInit(ScreenPtr pScreen,
int width,
int bpp,
SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap);
+#endif
extern _X_EXPORT Bool
-
fbFinishScreenInit(ScreenPtr pScreen,
void *pbits,
int xsize,