[libcamera-devel] [PATCH] libcamera: base: Move thread_annotations to private
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Jul 4 21:08:49 CEST 2023
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.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
include/libcamera/base/thread_annotations.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/libcamera/base/thread_annotations.h b/include/libcamera/base/thread_annotations.h
index e81929f674d7..25b3c7b6cf92 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.
--
2.34.1
More information about the libcamera-devel
mailing list