aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/linuxrbtree.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2014-06-16 10:13:40 +0200
committerSylvain Munaut <tnt@246tNt.com>2014-06-16 10:17:27 +0200
commit12ba778afdb797575e05284decd34cf2c27e3647 (patch)
tree8e98b7859c8866d706af877cd9edac3e1db5a09f /include/osmocom/core/linuxrbtree.h
parentb0a3c2f1de73cb3acd70f7c93be8fc7e8925f31e (diff)
include: Switch to #pragma once pattern
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
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 */