diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-17 23:32:46 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-18 16:35:55 +0300 |
commit | a237dbeb7e2238beea7222bafe75f8a0d912c4af (patch) | |
tree | 92696e5a17274358ec463fc709dc354ddf48fa96 /src | |
parent | 353fc4c223225f32176f9fc35a832d633486aa0d (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')
-rw-r--r-- | src/cam/buffer_writer.h | 6 | ||||
-rw-r--r-- | src/qcam/dng_writer.h | 6 |
2 files changed, 6 insertions, 6 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__ */ diff --git a/src/qcam/dng_writer.h b/src/qcam/dng_writer.h index d74d73d0..bf44c879 100644 --- a/src/qcam/dng_writer.h +++ b/src/qcam/dng_writer.h @@ -4,8 +4,8 @@ * * dng_writer.h - DNG writer */ -#ifndef __LIBCAMERA_DNG_WRITER_H__ -#define __LIBCAMERA_DNG_WRITER_H__ +#ifndef __QCAM_DNG_WRITER_H__ +#define __QCAM_DNG_WRITER_H__ #ifdef HAVE_TIFF #define HAVE_DNG @@ -28,4 +28,4 @@ public: #endif /* HAVE_TIFF */ -#endif /* __LIBCAMERA_DNG_WRITER_H__ */ +#endif /* __QCAM_DNG_WRITER_H__ */ |