I have many different 3 axis sensors I am writing test code for. In the C files for each of them, I have the same char string defined:
char axis[3][8] = {\"X\",
Add this to your header:
extern char *axis[];
Add this to one source file in your project:
char *axis[] = { "X", "Y", "Z", "Time", "Space", "The Scary Door" };