From 5f6337f949f99e20a2bbdc7a52122826a43870f8 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Mon, 18 Jan 2021 22:04:37 +0800 Subject: [PATCH] clutil.h: remove extern C (#19809) old-commit-hash: 3381cd371c03393df5d01bc5a10b24105711ad89 --- selfdrive/common/clutil.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/selfdrive/common/clutil.h b/selfdrive/common/clutil.h index 793d6e7f35..71523c2734 100644 --- a/selfdrive/common/clutil.h +++ b/selfdrive/common/clutil.h @@ -10,10 +10,6 @@ #include #endif -#ifdef __cplusplus -extern "C" { -#endif - #define CL_CHECK(_expr) \ do { \ assert(CL_SUCCESS == _expr); \ @@ -30,7 +26,3 @@ extern "C" { cl_device_id cl_get_device_id(cl_device_type device_type); cl_program cl_program_from_file(cl_context ctx, cl_device_id device_id, const char* path, const char* args); const char* cl_get_error_string(int err); - -#ifdef __cplusplus -} -#endif