diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-17 00:06:34 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-17 11:04:45 +0100 |
commit | 081f8883bafc11ca7c08f868ec19f1ea32071837 (patch) | |
tree | 2e190f34ba0cb18321e0581f5e3ac242ee93f03b /source4/cluster/ctdb/common | |
parent | 675b363b712e0b91b9b7d1189a819a36853db539 (diff) | |
download | samba-081f8883bafc11ca7c08f868ec19f1ea32071837.tar.gz samba-081f8883bafc11ca7c08f868ec19f1ea32071837.tar.bz2 samba-081f8883bafc11ca7c08f868ec19f1ea32071837.zip |
s4: fix LIBEVENTS dependencies and use more forward declarations
We should only include events.h where we really need it
and prefer forward declarations of 'struct event_context'
metze
Diffstat (limited to 'source4/cluster/ctdb/common')
-rw-r--r-- | source4/cluster/ctdb/common/ctdb_ltdb.c | 1 | ||||
-rw-r--r-- | source4/cluster/ctdb/common/ctdb_message.c | 1 | ||||
-rw-r--r-- | source4/cluster/ctdb/common/ctdb_util.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/source4/cluster/ctdb/common/ctdb_ltdb.c b/source4/cluster/ctdb/common/ctdb_ltdb.c index e9ee55f6a7..1673368860 100644 --- a/source4/cluster/ctdb/common/ctdb_ltdb.c +++ b/source4/cluster/ctdb/common/ctdb_ltdb.c @@ -18,7 +18,6 @@ */ #include "includes.h" -#include "lib/events/events.h" #include "../tdb/include/tdb.h" #include "system/network.h" #include "system/filesys.h" diff --git a/source4/cluster/ctdb/common/ctdb_message.c b/source4/cluster/ctdb/common/ctdb_message.c index 323e90c9e0..54f8e2ac1a 100644 --- a/source4/cluster/ctdb/common/ctdb_message.c +++ b/source4/cluster/ctdb/common/ctdb_message.c @@ -21,7 +21,6 @@ protocol design and packet details */ #include "includes.h" -#include "lib/events/events.h" #include "../tdb/include/tdb.h" #include "system/network.h" #include "system/filesys.h" diff --git a/source4/cluster/ctdb/common/ctdb_util.c b/source4/cluster/ctdb/common/ctdb_util.c index 67eb32221a..f6389c449f 100644 --- a/source4/cluster/ctdb/common/ctdb_util.c +++ b/source4/cluster/ctdb/common/ctdb_util.c @@ -18,7 +18,6 @@ */ #include "includes.h" -#include "lib/events/events.h" #include "../tdb/include/tdb.h" #include "system/network.h" #include "system/filesys.h" |