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

@@ -25,10 +25,6 @@
#include <string.h>
#include <sys/types.h>
#if defined(__cplusplus)
extern "C" {
#endif
/* Note: the next three all have to match in size and order!! */
enum ExplicitTypes
@@ -122,10 +118,6 @@ static inline int IsHalfSubnormal( cl_half x )
return ( ( x & 0x7fffU ) - 1U ) < 0x03ffU;
}
#if defined(__cplusplus)
}
#endif
#endif // _conversions_h