Oops, sorry, I forgot this patch was still outstanding when I cut the
xproto release tonight.
The prototype matches the definition in libX11's src/locking.c, so
Reviewed-by: Alan Coopersmith <[email protected]>
On 11/21/13 06:29 PM, Yaakov (Cygwin/X) wrote:
From: Yaakov Selkowitz <[email protected]>
This fixes the build of libXt on *-*-mingw* with -Werror=implicit.
Signed-off-by: Yaakov Selkowitz <[email protected]>
---
Xthreads.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/Xthreads.h b/Xthreads.h
index 3d44208..2027127 100644
--- a/Xthreads.h
+++ b/Xthreads.h
@@ -107,6 +107,7 @@ typedef struct {
struct _xthread_waiter *waiters;
} xcondition_rec;
typedef CRITICAL_SECTION xmutex_rec;
+extern void _Xthread_init(void);
# define xthread_init() _Xthread_init()
# define xthread_self GetCurrentThreadId
# define xthread_fork(func,closure) { \
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel