[PATCH libXext] sync declarations/definitions of xgeExtRegister()

Rémi Cardona remi at gentoo.org
Sun Sep 5 00:25:12 PDT 2010


src/extutil.c has _X_HIDDEN while src/Xge.c didn't. This apparently went
unnoticed by most compilers for a while, but not on Gentoo-prefix/amd64
where this issue breaks the build.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=29958

Signed-off-by: Ivan Jager <aij+freedesktop.org at mrph.org>
Reviewed-by: Rémi Cardona <remi at gentoo.org>
---

Could I get an extra pair of eyes to ACK this before committing?

Thanks,

Rémi

 src/Xge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Xge.c b/src/Xge.c
index 0655e00..2e25894 100644
--- a/src/Xge.c
+++ b/src/Xge.c
@@ -291,7 +291,7 @@ _xgeEventToWire(Display* dpy, XEvent* re, xEvent* event)
 /*
  * Extensions need to register callbacks for their events.
  */
-Bool
+_X_HIDDEN Bool
 xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
 {
     XGEExtNode* newExt;
-- 
1.7.2.2



More information about the xorg-devel mailing list