From c823bcfeede3a43ee567e79bb88dbe13663a4994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85strand?= Date: Tue, 12 Jan 2021 13:11:13 +0100 Subject: Use namespace for ethosu kernel headers Change-Id: I2866d2e7b25af49c3f8e4ed75dc60177e9b38143 --- kernel/uapi/ethosu.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kernel/uapi/ethosu.h') diff --git a/kernel/uapi/ethosu.h b/kernel/uapi/ethosu.h index 0127033..1e53c91 100644 --- a/kernel/uapi/ethosu.h +++ b/kernel/uapi/ethosu.h @@ -28,6 +28,10 @@ #include #include +#ifdef __cplusplus +namespace EthosU { +#endif + /**************************************************************************** * Defines ****************************************************************************/ @@ -148,4 +152,7 @@ struct ethosu_uapi_result_status { struct ethosu_uapi_pmu_counts pmu_count; }; +#ifdef __cplusplus +} /* namespace EthosU */ +#endif #endif -- cgit v1.2.1