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