ctdbd_conn: Avoid "includes.h"
authorVolker Lendecke <vl@samba.org>
Fri, 8 Apr 2016 14:14:33 +0000 (16:14 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 25 Apr 2016 16:29:21 +0000 (18:29 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/include/ctdbd_conn.h
source3/lib/ctdbd_conn.c

index bcaa09476032ee69685597cdca3b5e523ca22590..bf371e6af41d87d109fe773636fce772ed28a09e 100644 (file)
 #ifndef _CTDBD_CONN_H
 #define _CTDBD_CONN_H
 
+#include "replace.h"
+#include "system/filesys.h"
+#include "system/network.h"
 #include <tdb.h>
+#include <tevent.h>
 
 struct ctdbd_connection;
 struct messaging_context;
index 1f0d61cd943b69a994a2b342c68e90f7951f009a..80b65f34e629ec3ccf9176fa8d689fbe1b972953 100644 (file)
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
 #include "util_tdb.h"
 #include "serverid.h"
 #include "ctdbd_conn.h"
 #include "lib/util/sys_rw_data.h"
 #include "lib/util/iov_buf.h"
 #include "lib/util/select.h"
+#include "lib/util/debug.h"
+#include "lib/util/talloc_stack.h"
+#include "lib/util/genrand.h"
+#include "lib/util/fault.h"
 
 #include "messages.h"
 
@@ -1053,7 +1057,7 @@ int ctdbd_traverse(struct ctdbd_connection *conn, uint32_t db_id,
                return ret;
        }
 
-       while (True) {
+       while (true) {
                struct ctdb_req_header *hdr = NULL;
                struct ctdb_req_message_old *m;
                struct ctdb_rec_data_old *d;