Please add `__attribute__((unused))` to the argument list above instead of this no-op. I.e.:

```c
static void *thread_init (void *arg __attribute__((unused))) { … }
```