If you ever have trouble remembering how to declare things in C (like those pesky function pointers), try out cdecl:
brew install cdecl
apt install cdecl
Simply specify in English what you want to declare, and cdecl will show you the way:
declare memcpy as volatile pointer to function(int) returning void
void (* volatile memcpy)(int )
