summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/byte_stream_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/byte_stream_buffer.h')
-rw-r--r--include/libcamera/internal/byte_stream_buffer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/byte_stream_buffer.h b/include/libcamera/internal/byte_stream_buffer.h
index d0f0df5e..0f4fce6f 100644
--- a/include/libcamera/internal/byte_stream_buffer.h
+++ b/include/libcamera/internal/byte_stream_buffer.h
@@ -4,8 +4,8 @@
*
* byte_stream_buffer.h - Byte stream buffer
*/
-#ifndef __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__
-#define __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__
+
+#pragma once
#include <stddef.h>
#include <stdint.h>
@@ -85,5 +85,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__ */