summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_pixelformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/v4l2_pixelformat.h')
-rw-r--r--include/libcamera/internal/v4l2_pixelformat.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/v4l2_pixelformat.h b/include/libcamera/internal/v4l2_pixelformat.h
index e3cda699..886d534d 100644
--- a/include/libcamera/internal/v4l2_pixelformat.h
+++ b/include/libcamera/internal/v4l2_pixelformat.h
@@ -5,8 +5,8 @@
*
* v4l2_pixelformat.h - V4L2 Pixel Format
*/
-#ifndef __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__
-#define __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__
+
+#pragma once
#include <stdint.h>
#include <string>
@@ -51,5 +51,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__ */