This header is included by C code so the functions need to have a prototype. Also, fix the function definitions so that they have C linkage rather than C++ linkage. llvm-svn: 373213
Differential Revision: https://reviews.llvm.org/D66775 llvm-svn: 371787