Get rid of the no longer needed DECL_GLOBAL_CONSTRUCTOR macro.
diff --git a/loader/kthread.c b/loader/kthread.c
index ddc9bb3..e27eb2e 100644
--- a/loader/kthread.c
+++ b/loader/kthread.c
@@ -974,7 +974,14 @@
if (libc_pthread_init) libc_multiple_threads = libc_pthread_init( &libc_pthread_functions );
}
}
-DECL_GLOBAL_CONSTRUCTOR(init) { __pthread_initialize(); }
+
+#ifdef __GNUC__
+static void init(void) __attribute__((constructor));
+static void init(void)
+{
+ __pthread_initialize();
+}
+#endif
static struct pthread_functions libc_pthread_functions =
{