summaryrefslogtreecommitdiff
path: root/include/libcamera/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/logging.h')
-rw-r--r--include/libcamera/logging.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/logging.h b/include/libcamera/logging.h
index 2b6dd3f4..c36882b9 100644
--- a/include/libcamera/logging.h
+++ b/include/libcamera/logging.h
@@ -4,8 +4,8 @@
*
* logging.h - Logging infrastructure
*/
-#ifndef __LIBCAMERA_LOGGING_H__
-#define __LIBCAMERA_LOGGING_H__
+
+#pragma once
namespace libcamera {
@@ -22,5 +22,3 @@ int logSetTarget(LoggingTarget target);
void logSetLevel(const char *category, const char *level);
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_LOGGING_H__ */