Change to use extern void not char