[PATCH libX11] Mark _XNextRequest as hidden

Julien Cristau jcristau at debian.org
Fri May 1 04:50:15 PDT 2015


It's only used inside XNextRequest(), so doesn't need to be exported.

Signed-off-by: Julien Cristau <jcristau at debian.org>
---
 src/Xxcbint.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Xxcbint.h b/src/Xxcbint.h
index bf41c23..64298d0 100644
--- a/src/Xxcbint.h
+++ b/src/Xxcbint.h
@@ -46,6 +46,7 @@ typedef struct _X11XCBPrivate {
 int _XConnectXCB(Display *dpy, _Xconst char *display, int *screenp);
 void _XFreeX11XCBStructure(Display *dpy);
 
+_X_HIDDEN
 unsigned long _XNextRequest(Display *dpy);
 
 #endif /* XXCBINT_H */
-- 
2.1.4



More information about the xorg-devel mailing list