summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/pyauth.c3
-rw-r--r--source4/auth/pyauth.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index 865609e8e3..f81b449540 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -107,7 +107,8 @@ void initauth(void)
if (PyType_Ready(&PyAuthSession) < 0)
return;
- m = Py_InitModule3("auth", py_auth_methods, "Authentication and authorization support.");
+ m = Py_InitModule3("auth", py_auth_methods,
+ "Authentication and authorization support.");
if (m == NULL)
return;
diff --git a/source4/auth/pyauth.h b/source4/auth/pyauth.h
index f3c9cea73d..2d0379e6e8 100644
--- a/source4/auth/pyauth.h
+++ b/source4/auth/pyauth.h
@@ -23,7 +23,6 @@
#include "lib/talloc/pytalloc.h"
#include "auth/session.h"
-PyAPI_DATA(PyTypeObject) PyAuthSession;
#define PyAuthSession_AsSession(obj) py_talloc_get_type(obj, struct auth_session_info)
#define PyAuthSession_Check(obj) PyObject_TypeCheck(obj, &PyAuthSession)
struct auth_session_info *PyObject_AsSession(PyObject *obj);