ctdb-util: Move rb_tree.c to ctdb-util
authorMartin Schwenke <martin@meltin.net>
Wed, 16 Mar 2016 20:05:51 +0000 (07:05 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 1 Apr 2016 02:42:11 +0000 (04:42 +0200)
It doesn't need struct ctdb_context or similar.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/wscript

index 95e5b45f8797f6358be43fac9ce349ab00ac4d04..16d9d02270d9aa6982b57849c672b5548239fbe9 100755 (executable)
@@ -332,7 +332,7 @@ def build(bld):
     bld.SAMBA_SUBSYSTEM('ctdb-common',
                         source=bld.SUBDIR('common',
                                           '''ctdb_io.c ctdb_util.c ctdb_ltdb.c
-                                             cmdline.c rb_tree.c'''),
+                                             cmdline.c'''),
                         includes='include',
                         deps='replace popt talloc tevent tdb popt ctdb-system')
 
@@ -340,7 +340,7 @@ def build(bld):
                         source=bld.SUBDIR('common',
                                           '''db_hash.c srvid.c reqid.c
                                              pkt_read.c pkt_write.c comm.c
-                                             logging.c'''),
+                                             logging.c rb_tree.c'''),
                         deps='replace talloc tevent tdb tevent-unix-util')
 
     bld.SAMBA_SUBSYSTEM('ctdb-protocol',