summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2023-07-04 19:37:12 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-07-04 20:21:25 +0100
commitfae9c8f0f20e6fafe23e10b133cace9dc72e8c5a (patch)
treedfb2ae430553cf0f6dee90993193a5a44e7e5704
parente6b6a6d42ea5b21119bd5ce25c32270f0665ba4c (diff)
libcamera: base: Move thread_annotations to private
The libcamera thread annotations are for internal use only and are not part of any public API. Mark the header accordingly by including the private.h header guard. Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--include/libcamera/base/thread_annotations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/base/thread_annotations.h b/include/libcamera/base/thread_annotations.h
index e81929f6..25b3c7b6 100644
--- a/include/libcamera/base/thread_annotations.h
+++ b/include/libcamera/base/thread_annotations.h
@@ -7,6 +7,8 @@
#pragma once
+#include <libcamera/base/private.h>
+
/*
* Enable thread safety attributes only with clang.
* The attributes can be safely erased when compiling with other compilers.