Hi hjavaher,
the code you posted is unusual also for the following reasons:
- usually an header file content is inserted in a define block to avoid multiple inclusions, in this way:
#ifndef __lib_gravity__
#define __lib_gravity__
.....
#endif
but the define directive is missing.
2) why are you including .c files in a header?