summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerasrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gstreamer/gstlibcamerasrc.h')
-rw-r--r--src/gstreamer/gstlibcamerasrc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gstreamer/gstlibcamerasrc.h b/src/gstreamer/gstlibcamerasrc.h
index 0144cbc4..fdea2f10 100644
--- a/src/gstreamer/gstlibcamerasrc.h
+++ b/src/gstreamer/gstlibcamerasrc.h
@@ -6,8 +6,7 @@
* gstlibcamerasrc.h - GStreamer Capture Element
*/
-#ifndef __GST_LIBCAMERA_SRC_H__
-#define __GST_LIBCAMERA_SRC_H__
+#pragma once
#include <gst/gst.h>
@@ -18,5 +17,3 @@ G_DECLARE_FINAL_TYPE(GstLibcameraSrc, gst_libcamera_src,
GST_LIBCAMERA, SRC, GstElement)
G_END_DECLS
-
-#endif /* __GST_LIBCAMERA_SRC_H__ */