summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-03-07 12:21:20 +0000
committerRoy Marples <roy@marples.name>2019-03-07 12:21:20 +0000
commitbefcc01ed932ad028e9df41f1dd8dd683f9682fe (patch)
tree5d9e916e4d11be165518d851e15d461c0573e6d6 /compat
parent7fc3bc2f2b97ef7a7b1d6e959f671d7a88ea2a2d (diff)
downloaddhcpcd-befcc01ed932ad028e9df41f1dd8dd683f9682fe.tar.xz
rbtree: reduce more with upstream
Diffstat (limited to 'compat')
-rw-r--r--compat/rb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/rb.c b/compat/rb.c
index 3b1c3e5f..0e0a2cf5 100644
--- a/compat/rb.c
+++ b/compat/rb.c
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "common.h"
+
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <sys/types.h>
#include <stddef.h>
@@ -39,7 +41,7 @@
#else
#define KASSERT(s) do { } while (/*CONSTCOND*/ 0)
#endif
-//__RCSID("$NetBSD: rb.c,v 1.13 2014/08/22 17:19:48 matt Exp $");
+__RCSID("$NetBSD: rb.c,v 1.13 2014/08/22 17:19:48 matt Exp $");
#else
#include <lib/libkern/libkern.h>
__KERNEL_RCSID(0, "$NetBSD: rb.c,v 1.13 2014/08/22 17:19:48 matt Exp $");
@@ -67,8 +69,6 @@ __weak_alias(rb_tree_depths, _rb_tree_depths)
#include <sys/rbtree.h>
#endif
-#include "common.h"
-
static void rb_tree_insert_rebalance(struct rb_tree *, struct rb_node *);
static void rb_tree_removal_rebalance(struct rb_tree *, struct rb_node *,
unsigned int);