../../libports/manage-multithread.c:99:3: error: illegal storage class on function auto void * thread_function (void *); ^ ../../libports/manage-multithread.c:107:35: error: expected ';' at end of declaration mach_msg_header_t *outheadp) ^ ; 2 errors generated.