diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 04:21:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 04:21:20 +0100 |
commit | 24b62772ab78a84d4a35f5eb15e327b6b76782b0 (patch) | |
tree | 606204f1ad16a203f023eda84a6a038c95e4c6b9 | |
parent | 4eabc417a04240ffd813514c5e6ea38cbe5ffc91 (diff) | |
download | samba-24b62772ab78a84d4a35f5eb15e327b6b76782b0.tar.gz samba-24b62772ab78a84d4a35f5eb15e327b6b76782b0.tar.bz2 samba-24b62772ab78a84d4a35f5eb15e327b6b76782b0.zip |
Remove includes of py_*.h, which are no longer generated.
-rw-r--r-- | source4/lib/messaging/pymessaging.c | 4 | ||||
-rw-r--r-- | source4/scripting/python/pyglue.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 7a5fdb34bf..9f04bf0c6d 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -29,7 +29,6 @@ #include "lib/events/events.h" #include "cluster/cluster.h" #include "param/param.h" -#include "librpc/gen_ndr/py_irpc.h" PyAPI_DATA(PyTypeObject) messaging_Type; PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType; @@ -37,6 +36,9 @@ PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType; /* FIXME: This prototype should be in param/pyparam.h */ struct loadparm_context *py_default_loadparm_context(TALLOC_CTX *mem_ctx); +/* FIXME: This prototype should be in py_irpc.h, or shared otherwise */ +extern const struct PyNdrRpcMethodDef py_ndr_irpc_methods[]; + static bool server_id_from_py(PyObject *object, struct server_id *server_id) { if (!PyTuple_Check(object)) { diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c index 55eb618426..fc9c4a94b5 100644 --- a/source4/scripting/python/pyglue.c +++ b/source4/scripting/python/pyglue.c @@ -27,8 +27,6 @@ #include <Python.h> #include "pyldb.h" #include "libcli/util/pyerrors.h" -#include "librpc/gen_ndr/py_misc.h" -#include "librpc/gen_ndr/py_security.h" #include "libcli/security/security.h" #include "auth/pyauth.h" |