Fix function prototype and spec file entry for