[#2262] remove function declarations using the C++ error object out of C extern