aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/linuxrbtree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/linuxrbtree.h')
-rw-r--r--include/osmocom/core/linuxrbtree.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/osmocom/core/linuxrbtree.h b/include/osmocom/core/linuxrbtree.h
index 079f440d..ef8bc153 100644
--- a/include/osmocom/core/linuxrbtree.h
+++ b/include/osmocom/core/linuxrbtree.h
@@ -91,8 +91,7 @@ static inline struct page * rb_insert_page_cache(struct inode * inode,
-----------------------------------------------------------------------
*/
-#ifndef _LINUX_RBTREE_H
-#define _LINUX_RBTREE_H
+#pragma once
#include <stdlib.h>
@@ -156,5 +155,3 @@ static inline void rb_link_node(struct rb_node * node, struct rb_node * parent,
*rb_link = node;
}
-
-#endif /* _LINUX_RBTREE_H */