// place me somewhere in your C file
asm("GLOBAL _myFunc");

void myFunc(void)
{
  …
}