(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>
This commit is contained in:
Laurent Pinchart
2020-05-17 23:32:46 +03:00
parent 353fc4c223
commit a237dbeb7e
2 changed files with 6 additions and 6 deletions

View File

@@ -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__ */

View File

@@ -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__ */