https://stackoverflow.com/questions/2845748/function-defined-but-not-used-warning-in-c Function defined but not used warning in C