Index: src/untrusted/pthread/nc_init_private.c |
diff --git a/src/untrusted/pthread/nc_init_private.c b/src/untrusted/pthread/nc_init_private.c |
index d54cd5aeb293e5eee88dffd350f7e6234a5ae6e3..1493d384edc6f2b32cf522606eb0633dcd52dddb 100644 |
--- a/src/untrusted/pthread/nc_init_private.c |
+++ b/src/untrusted/pthread/nc_init_private.c |
@@ -10,7 +10,7 @@ |
#include "native_client/src/untrusted/pthread/pthread_internal.h" |
static int nacl_irt_thread_create(void (*start_func)(void), void *stack, |
- void *thread_ptr) { |
+ void *thread_ptr, nacl_irt_tid_t *tid) { |
#if defined(NACL_IN_IRT) |
/* |
* We want the first TLS to point to an unmapped location. The |
@@ -36,7 +36,7 @@ static int nacl_irt_thread_nice(const int nice) { |
} |
void __nc_initialize_interfaces(void) { |
- const struct nacl_irt_thread init = { |
+ const struct nacl_irt_thread_v0_2 init = { |
nacl_irt_thread_create, |
nacl_irt_thread_exit, |
nacl_irt_thread_nice, |