I am getting an error in Linux which says:
In file included from server.c:7: /usr/include/pthread.h:200:15: note: expected ‘void * ()(void *)’ but argument is of type