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

@@ -22,10 +22,6 @@
#include <CL/cl.h>
#endif
#if defined(__cplusplus)
extern "C" {
#endif
//
// An atomic add operator
cl_int ThreadPool_AtomicAdd( volatile cl_int *a, cl_int b ); // returns old value
@@ -68,9 +64,5 @@ cl_uint GetThreadCount( void );
// otherwise the behavior is indefined. It may not be called from a TPFuncPtr.
void SetThreadCount( int count );
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* THREAD_POOL_H */