use externs for fastcomp vars and declare for fastcomp funcs