build: Move src/mapi/mapi/* to src/mapi/
[mesa.git] / src / mapi / glapi / glthread.h
index 54292706acfc4a7e79a1741e3659abae06996967..2399abb2baeeb405bbfbc9cb6f77913a47b2fd28 100644 (file)
@@ -1,7 +1,11 @@
 #ifndef GLTHREAD_H
 #define GLTHREAD_H
 
-#include "mapi/u_thread.h"
+#include "u_thread.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #define _glthread_DECLARE_STATIC_MUTEX(name) u_mutex_declare_static(name)
 #define _glthread_INIT_MUTEX(name)           u_mutex_init(name)
@@ -17,7 +21,8 @@
 typedef struct u_tsd _glthread_TSD;
 typedef u_mutex _glthread_Mutex;
 
-PUBLIC unsigned long
-_glthread_GetID(void);
+#ifdef __cplusplus
+}
+#endif
 
-#endif /* THREADS_H */
+#endif /* GLTHREAD_H */