Rev 501: some #include cleanups in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Thu Jun 7 12:26:28 GMT 2007


------------------------------------------------------------
revno: 501
revision-id: tridge at samba.org-20070607122627-ez09w5vqnltynyy6
parent: tridge at samba.org-20070607121648-wml5bxdf98o94rqh
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Thu 2007-06-07 22:26:27 +1000
message:
  some #include cleanups
modified:
  client/ctdb_client.c           ctdb_client.c-20070411010216-3kd8v37k61steeya-1
  include/includes.h             includes.h-20061117234101-o3qt14umlg9en8z0-17
  server/ctdb_call.c             ctdb_call.c-20061128065342-to93h6eejj5kon81-1
  takeover/ctdb_takeover.c       ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
  tools/ctdb.c                   ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
=== modified file 'client/ctdb_client.c'
--- a/client/ctdb_client.c	2007-06-07 12:16:48 +0000
+++ b/client/ctdb_client.c	2007-06-07 12:26:27 +0000
@@ -22,12 +22,12 @@
 #include "includes.h"
 #include "db_wrap.h"
 #include "lib/tdb/include/tdb.h"
+#include "lib/util/dlinklist.h"
 #include "lib/events/events.h"
-#include "lib/util/dlinklist.h"
 #include "system/network.h"
 #include "system/filesys.h"
-#include "../include/ctdb.h"
 #include "../include/ctdb_private.h"
+#include "lib/util/dlinklist.h"
 
 /*
   allocate a packet for use in client<->daemon communication

=== modified file 'include/includes.h'
--- a/include/includes.h	2007-05-01 21:32:04 +0000
+++ b/include/includes.h	2007-06-07 12:26:27 +0000
@@ -5,7 +5,6 @@
 #include "tdb.h"
 #include "idtree.h"
 #include "ctdb.h"
-#include "lib/util/dlinklist.h"
 #include "lib/util/debug.h"
 
 typedef bool BOOL;

=== modified file 'server/ctdb_call.c'
--- a/server/ctdb_call.c	2007-06-07 12:06:19 +0000
+++ b/server/ctdb_call.c	2007-06-07 12:26:27 +0000
@@ -24,6 +24,7 @@
 #include "includes.h"
 #include "lib/events/events.h"
 #include "lib/tdb/include/tdb.h"
+#include "lib/util/dlinklist.h"
 #include "system/network.h"
 #include "system/filesys.h"
 #include "../include/ctdb_private.h"

=== modified file 'takeover/ctdb_takeover.c'
--- a/takeover/ctdb_takeover.c	2007-06-07 05:18:55 +0000
+++ b/takeover/ctdb_takeover.c	2007-06-07 12:26:27 +0000
@@ -21,6 +21,7 @@
 #include "includes.h"
 #include "lib/events/events.h"
 #include "lib/tdb/include/tdb.h"
+#include "lib/util/dlinklist.h"
 #include "system/network.h"
 #include "system/filesys.h"
 #include "system/wait.h"

=== modified file 'tools/ctdb.c'
--- a/tools/ctdb.c	2007-06-07 12:16:48 +0000
+++ b/tools/ctdb.c	2007-06-07 12:26:27 +0000
@@ -21,11 +21,11 @@
 #include "includes.h"
 #include "lib/events/events.h"
 #include "system/filesys.h"
+#include "system/network.h"
 #include "popt.h"
 #include "cmdline.h"
 #include "../include/ctdb.h"
 #include "../include/ctdb_private.h"
-#include <arpa/inet.h>
 
 static void usage(void);
 



More information about the samba-cvs mailing list