s4:dsdb/repl/drepl* - move "lib/messaging/irpc.h" include into "drepl_service.h"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 28 Nov 2010 10:53:48 +0000 (11:53 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 28 Nov 2010 11:46:19 +0000 (12:46 +0100)
This is needed to fix a Tru64 "cc" warning regarding "enum drepl_role_master".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 28 12:46:19 CET 2010 on sn-devel-104

source4/dsdb/repl/drepl_fsmo.c
source4/dsdb/repl/drepl_notify.c
source4/dsdb/repl/drepl_out_helpers.c
source4/dsdb/repl/drepl_out_pull.c
source4/dsdb/repl/drepl_partitions.c
source4/dsdb/repl/drepl_periodic.c
source4/dsdb/repl/drepl_service.c
source4/dsdb/repl/drepl_service.h

index 98bc1c1b7a0a1922d7062fbe4506c688c0ad69fe..0355459bc0a3d58df5e2bdcc0aacc5c7a96752a4 100644 (file)
@@ -30,7 +30,6 @@
 #include "smbd/service.h"
 #include "dsdb/repl/drepl_service.h"
 #include "param/param.h"
-#include "librpc/gen_ndr/irpc.h"
 
 static void drepl_role_callback(struct dreplsrv_service *service,
                                WERROR werr,
index 8f315165a0674c7e87879bef6689f8f53f92278c..44a50ed6d3b3ce94bf8c5d84f7d9536f9f912631 100644 (file)
@@ -26,7 +26,6 @@
 #include "dsdb/samdb/samdb.h"
 #include "auth/auth.h"
 #include "smbd/service.h"
-#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_service.h"
 #include "lib/ldb/include/ldb_errors.h"
 #include "../lib/util/dlinklist.h"
index 2bd5974fadb7e6862d735d5c3ce7c4010a1ecdb0..2cbf0088a5d27ade577af5828469be46029cf72f 100644 (file)
@@ -24,7 +24,6 @@
 #include "auth/auth.h"
 #include "smbd/service.h"
 #include "lib/events/events.h"
-#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_service.h"
 #include "lib/ldb/include/ldb_errors.h"
 #include "../lib/util/dlinklist.h"
index 874d44ef55b97b8342d33c1ad3dd4164a0ebc7a3..c62a605dcc0f2e8df9737057460c9f1b93199316 100644 (file)
@@ -24,7 +24,6 @@
 #include "auth/auth.h"
 #include "smbd/service.h"
 #include "lib/events/events.h"
-#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_service.h"
 #include "lib/ldb/include/ldb_errors.h"
 #include "../lib/util/dlinklist.h"
index ee9210dd29e0f08ac8acc450c34ebfc309147f2e..4033c979087f1c4213cee94b99e65b08af879cbd 100644 (file)
@@ -24,7 +24,6 @@
 #include "auth/auth.h"
 #include "smbd/service.h"
 #include "lib/events/events.h"
-#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_service.h"
 #include "lib/ldb/include/ldb_errors.h"
 #include "../lib/util/dlinklist.h"
index fe0fb6dd1cba7a52fc675e71dfe5f9021cb8ea2f..becbca7b11d85f38c6fbc75f8d2db466c4f67b40 100644 (file)
@@ -24,7 +24,6 @@
 #include "dsdb/samdb/samdb.h"
 #include "auth/auth.h"
 #include "smbd/service.h"
-#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_service.h"
 #include "lib/ldb/include/ldb_errors.h"
 #include "../lib/util/dlinklist.h"
index 2f9a5d5dc4082372b4e80e7f612c83f0dfb500bd..a85750b3c1eff51a6e8037a11045d1fabeae0bca 100644 (file)
@@ -25,7 +25,6 @@
 #include "auth/auth.h"
 #include "smbd/service.h"
 #include "lib/events/events.h"
-#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_service.h"
 #include "lib/ldb/include/ldb_errors.h"
 #include "../lib/util/dlinklist.h"
index ffff0bf08b62e80c924afcde61ab7bdfec2a9ee4..80f60d6812723945b605c26fd4c79988313905bf 100644 (file)
@@ -233,8 +233,7 @@ struct dreplsrv_service {
        bool am_rodc;
 };
 
-enum drepl_role_master;
-
+#include "lib/messaging/irpc.h"
 #include "dsdb/repl/drepl_out_helpers.h"
 #include "dsdb/repl/drepl_service_proto.h"