diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-08 17:34:29 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-16 14:53:34 +0300 |
commit | 777b0e0a655cce258a2b11e98546c3fc5a5be031 (patch) | |
tree | 0072094b922a5f30377a058fff5bc1f988689181 /include | |
parent | b954deff2071399ca941ffd719e762968f28feae (diff) |
libcamera: base: Make message.h and mutex.h private
The message.h and mutex.h headers are not used in the libcamera public
API. Make them private to avoid there usage in applications, and to
prevent having to maintain them with a stable ABI.
As mutex.h is used by libcamerasrc, the GStreamer element must switch
from the libcamera_public to the libcamera_private dependency.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/base/message.h | 2 | ||||
-rw-r--r-- | include/libcamera/base/mutex.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/base/message.h b/include/libcamera/base/message.h index 65572c74..b939af6f 100644 --- a/include/libcamera/base/message.h +++ b/include/libcamera/base/message.h @@ -9,6 +9,8 @@ #include <atomic> +#include <libcamera/base/private.h> + #include <libcamera/base/bound_method.h> namespace libcamera { diff --git a/include/libcamera/base/mutex.h b/include/libcamera/base/mutex.h index 2d23e49e..52441c55 100644 --- a/include/libcamera/base/mutex.h +++ b/include/libcamera/base/mutex.h @@ -10,6 +10,8 @@ #include <condition_variable> #include <mutex> +#include <libcamera/base/private.h> + #include <libcamera/base/thread_annotations.h> namespace libcamera { |