Use typedef name if function declared in typedef

Check 18a: "If the type was done using a typedef, simply 
use the typedef name. "