I am using function implementations in a header file for simple code sharing. Minimal example:
foo.h:
#ifndef FOO_H #define FOO_H // potentially want