summaryrefslogtreecommitdiff
path: root/src/cam/buffer_writer.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-17 23:32:46 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-18 16:35:55 +0300
commita237dbeb7e2238beea7222bafe75f8a0d912c4af (patch)
tree92696e5a17274358ec463fc709dc354ddf48fa96 /src/cam/buffer_writer.h
parent353fc4c223225f32176f9fc35a832d633486aa0d (diff)
(q)cam: Fix header guards
Several headers belonging to cam and qcam use __LIBCAMERA_*_H__ as a header guard. They're not part of the libcamera core, use __CAM_*_H__ and __QCAM_*_H__ instead, similarly to all other headers of cam and qcam. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/buffer_writer.h')
-rw-r--r--src/cam/buffer_writer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cam/buffer_writer.h b/src/cam/buffer_writer.h
index 8c9b2436..47e26103 100644
--- a/src/cam/buffer_writer.h
+++ b/src/cam/buffer_writer.h
@@ -4,8 +4,8 @@
*
* buffer_writer.h - Buffer writer
*/
-#ifndef __LIBCAMERA_BUFFER_WRITER_H__
-#define __LIBCAMERA_BUFFER_WRITER_H__
+#ifndef __CAM_BUFFER_WRITER_H__
+#define __CAM_BUFFER_WRITER_H__
#include <map>
#include <string>
@@ -28,4 +28,4 @@ private:
std::map<int, std::pair<void *, unsigned int>> mappedBuffers_;
};
-#endif /* __LIBCAMERA_BUFFER_WRITER_H__ */
+#endif /* __CAM_BUFFER_WRITER_H__ */