diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-11-23 17:23:07 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-11-24 12:18:22 +0000 |
commit | cc0b245096da68253dda94b3542a9387d73fda62 (patch) | |
tree | fea4a2e500d13704569d150265166080b548b0ba /include/libcamera/ipa/raspberrypi.h | |
parent | df131ad088930258ad380b515b5ddfd96a92d8b6 (diff) |
libcamera: ipa: Convert to pragma once
Remove the verbose #ifndef/#define/#endif pattern for maintaining
header idempotency, and replace it with a simple #pragma once.
This simplifies the headers, and prevents redundant changes when
header files get moved.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Diffstat (limited to 'include/libcamera/ipa/raspberrypi.h')
-rw-r--r-- | include/libcamera/ipa/raspberrypi.h | 6 |
1 files changed, 2 insertions, 4 deletions
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__ */ |