RIP BOOL. Convert BOOL -> bool. I found a few interesting
[tprouty/samba.git] / source / lib / conn_tdb.c
index d9552c5f0743f5dad3242e028b65c2712bf3c374..dd0a354a85169564b01b5290bc23c55a4d84d08b 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "includes.h"
 
-static struct db_context *connections_db_ctx(BOOL rw)
+static struct db_context *connections_db_ctx(bool rw)
 {
        static struct db_context *db_ctx;
 
@@ -120,7 +120,7 @@ int connections_forall(int (*fn)(struct db_record *rec,
        return connections_traverse(conn_traverse_fn, (void *)&state);
 }
 
-BOOL connections_init(BOOL rw)
+bool connections_init(bool rw)
 {
        return (connections_db_ctx(rw) != NULL);
 }