Remove "C" linkages (#781)

* Remove extern C linkages

* Update crc32 to cpp and remove extern C linkage
This commit is contained in:
Ankit Goyal
2020-05-20 18:46:19 +05:30
committed by GitHub
parent 223c43b7d9
commit 4fbcd96e7f
74 changed files with 140 additions and 440 deletions

View File

@@ -21,10 +21,8 @@
int TestFunc_Float_UInt(const Func *f, MTdata);
int TestFunc_Double_ULong(const Func *f, MTdata);
#if defined( __cplusplus)
extern "C"
#endif
const vtbl _unary_u = { "unary_u", TestFunc_Float_UInt, TestFunc_Double_ULong };
extern const vtbl _unary_u = { "unary_u", TestFunc_Float_UInt,
TestFunc_Double_ULong };
static int BuildKernel( const char *name, int vectorSize, cl_kernel *k, cl_program *p );