From b56a6f2eda228698a2433ea2365fda5967bd904c Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 12 Dec 2010 17:44:04 +0100 Subject: ldb:pyldb - optimise includes --- source4/lib/ldb/pyldb.c | 3 --- source4/lib/ldb/pyldb.h | 3 ++- source4/lib/ldb/pyldb_util.c | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 3bee9abcc9..44a006ffb3 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -26,9 +26,6 @@ License along with this library; if not, see . */ -#include -#include "replace.h" -#include "ldb_private.h" #include "pyldb.h" /* There's no Py_ssize_t in 2.4, apparently */ diff --git a/source4/lib/ldb/pyldb.h b/source4/lib/ldb/pyldb.h index 1f4bdf7290..afc8c51881 100644 --- a/source4/lib/ldb/pyldb.h +++ b/source4/lib/ldb/pyldb.h @@ -1,7 +1,7 @@ /* Unix SMB/CIFS implementation. - Swig interface to ldb. + Python interface to ldb. Copyright (C) 2007-2008 Jelmer Vernooij @@ -28,6 +28,7 @@ #include #include +#include "ldb_private.h" typedef struct { PyObject_HEAD diff --git a/source4/lib/ldb/pyldb_util.c b/source4/lib/ldb/pyldb_util.c index 3e015d0939..35071f3645 100644 --- a/source4/lib/ldb/pyldb_util.c +++ b/source4/lib/ldb/pyldb_util.c @@ -23,10 +23,7 @@ License along with this library; if not, see . */ -#include -#include "replace.h" #include "pyldb.h" -#include static PyObject *ldb_module = NULL; -- cgit