libcamera: raspberrypi: Align include guard
The preprocessor directive '#pragma once' is non-standard, replace it with the include guard used elsewhere in libcamera. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
*
|
||||
* staggered_ctrl.h - Helper for writing staggered ctrls to a V4L2 device.
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __LIBCAMERA_PIPELINE_RASPBERRYPI_STAGGERED_CTRL_H__
|
||||
#define __LIBCAMERA_PIPELINE_RASPBERRYPI_STAGGERED_CTRL_H__
|
||||
|
||||
#include <array>
|
||||
#include <initializer_list>
|
||||
@@ -91,3 +92,5 @@ private:
|
||||
} /* namespace RPi */
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_PIPELINE_RASPBERRYPI_STAGGERED_CTRL_H__ */
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
*
|
||||
* vcsm.h - Helper class for vcsm allocations.
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __LIBCAMERA_PIPELINE_RASPBERRYPI_VCSM_H__
|
||||
#define __LIBCAMERA_PIPELINE_RASPBERRYPI_VCSM_H__
|
||||
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
@@ -144,3 +145,5 @@ private:
|
||||
};
|
||||
|
||||
} /* namespace RPi */
|
||||
|
||||
#endif /* __LIBCAMERA_PIPELINE_RASPBERRYPI_VCSM_H__ */
|
||||
|
||||
Reference in New Issue
Block a user