summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/ipa/ipa_controls.h6
-rw-r--r--include/libcamera/ipa/ipa_interface.h6
-rw-r--r--include/libcamera/ipa/ipa_module_info.h6
-rw-r--r--include/libcamera/ipa/raspberrypi.h6
4 files changed, 8 insertions, 16 deletions
diff --git a/include/libcamera/ipa/ipa_controls.h b/include/libcamera/ipa/ipa_controls.h
index eec34d92..da1a7596 100644
--- a/include/libcamera/ipa/ipa_controls.h
+++ b/include/libcamera/ipa/ipa_controls.h
@@ -4,8 +4,8 @@
*
* ipa_controls.h - IPA Control handling
*/
-#ifndef __LIBCAMERA_IPA_CONTROLS_H__
-#define __LIBCAMERA_IPA_CONTROLS_H__
+
+#pragma once
#include <stdint.h>
@@ -50,5 +50,3 @@ struct ipa_control_info_entry {
#ifdef __cplusplus
}
#endif
-
-#endif /* __LIBCAMERA_IPA_CONTROLS_H__ */
diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h
index 1590584c..50ca0e7b 100644
--- a/include/libcamera/ipa/ipa_interface.h
+++ b/include/libcamera/ipa/ipa_interface.h
@@ -4,8 +4,8 @@
*
* ipa_interface.h - Image Processing Algorithm interface
*/
-#ifndef __LIBCAMERA_IPA_INTERFACE_H__
-#define __LIBCAMERA_IPA_INTERFACE_H__
+
+#pragma once
#include <stddef.h>
#include <stdint.h>
@@ -37,5 +37,3 @@ public:
extern "C" {
libcamera::IPAInterface *ipaCreate();
}
-
-#endif /* __LIBCAMERA_IPA_INTERFACE_H__ */
diff --git a/include/libcamera/ipa/ipa_module_info.h b/include/libcamera/ipa/ipa_module_info.h
index 3b1c37d2..b19b00f7 100644
--- a/include/libcamera/ipa/ipa_module_info.h
+++ b/include/libcamera/ipa/ipa_module_info.h
@@ -4,8 +4,8 @@
*
* ipa_module_info.h - Image Processing Algorithm module information
*/
-#ifndef __LIBCAMERA_IPA_MODULE_INFO_H__
-#define __LIBCAMERA_IPA_MODULE_INFO_H__
+
+#pragma once
#include <stdint.h>
@@ -25,5 +25,3 @@ extern const struct IPAModuleInfo ipaModuleInfo;
}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_IPA_MODULE_INFO_H__ */
diff --git a/include/libcamera/ipa/raspberrypi.h b/include/libcamera/ipa/raspberrypi.h
index 521eaecd..7f705e49 100644
--- a/include/libcamera/ipa/raspberrypi.h
+++ b/include/libcamera/ipa/raspberrypi.h
@@ -4,8 +4,8 @@
*
* raspberrypi.h - Image Processing Algorithm interface for Raspberry Pi
*/
-#ifndef __LIBCAMERA_IPA_INTERFACE_RASPBERRYPI_H__
-#define __LIBCAMERA_IPA_INTERFACE_RASPBERRYPI_H__
+
+#pragma once
#include <stdint.h>
@@ -53,5 +53,3 @@ static const ControlInfoMap Controls({
} /* namespace libcamera */
#endif /* __DOXYGEN__ */
-
-#endif /* __LIBCAMERA_IPA_INTERFACE_RASPBERRYPI_H__ */