diff --git a/core/dap_common.h b/core/dap_common.h
index 582885bf6d52f8474722b3a2eeb8a8dd5d52bf49..2b392d4ee1a9ad6db6e6486df10ef2c80238cbd8 100644
--- a/core/dap_common.h
+++ b/core/dap_common.h
@@ -1,6 +1,4 @@
-#ifndef COMMON_H
-#define COMMON_H
-
+#pragma once
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdlib.h>
@@ -59,5 +57,3 @@ char * random_string_create(size_t a_length);
 #ifdef __cplusplus
 }
 #endif
-
-#endif