summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_videodevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/v4l2_videodevice.h')
-rw-r--r--include/libcamera/internal/v4l2_videodevice.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h
index a1c458e4..4a44b7fd 100644
--- a/include/libcamera/internal/v4l2_videodevice.h
+++ b/include/libcamera/internal/v4l2_videodevice.h
@@ -4,8 +4,8 @@
*
* v4l2_videodevice.h - V4L2 Video Device
*/
-#ifndef __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__
-#define __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__
+
+#pragma once
#include <array>
#include <atomic>
@@ -278,5 +278,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__ */