Fix declaration problems for ctap[XYZ] helpers

gcc -Wall -lctap can be so cruel sometimes!

v1.1.1