diff options
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/credentials/pycredentials.c | 4 | ||||
-rw-r--r-- | source4/auth/pyauth.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c index 5f3801cdf6..4fa9fe5696 100644 --- a/source4/auth/credentials/pycredentials.c +++ b/source4/auth/credentials/pycredentials.c @@ -22,9 +22,7 @@ #include "lib/cmdline/credentials.h" #include "librpc/gen_ndr/samr.h" /* for struct samr_Password */ #include "libcli/util/pyerrors.h" - -/* Here until param/param.i gets rewritten in "manual" C */ -extern struct loadparm_context *lp_from_py_object(PyObject *py_obj); +#include "param/pyparam.h" struct cli_credentials *cli_credentials_from_py_object(PyObject *py_obj) { diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c index cc717bf42f..e97174fcc3 100644 --- a/source4/auth/pyauth.c +++ b/source4/auth/pyauth.c @@ -20,10 +20,7 @@ #include "param/param.h" #include "pyauth.h" #include "auth/system_session_proto.h" - -/* FIXME: These should be in a header file somewhere, once we finish moving - * away from SWIG .. */ -extern struct loadparm_context *lp_from_py_object(PyObject *py_obj); +#include "param/pyparam.h" PyTypeObject PyAuthSession = { .tp_name = "AuthSession", |