I'm writing a threading program, and the pthread_create method requires a void* function.
I'm getting the "control reaches end of non-void function" warning, and I understand why (because I don't have any official return statement)- my question is really just what should I return in this case?
Is it alright to just return NULL? I don't think my return value will affect anything else in my program, but I am just wondering what the standard is for avoiding this warning when programming with multithreaded programs.