[PATCH xserver 2/5] wfb: Hide init function decls behind FB_ACCESS_WRAPPER
Adam Jackson
ajax at redhat.com
Thu Feb 16 18:03:28 UTC 2017
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
fb/fb.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fb/fb.h b/fb/fb.h
index c687aa7..d5db710 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,
--
2.9.3
More information about the xorg-devel
mailing list