diff options
Diffstat (limited to 'source4/param/pyparam.c')
-rw-r--r-- | source4/param/pyparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c index b1e0d7df0e..cb7169e68d 100644 --- a/source4/param/pyparam.c +++ b/source4/param/pyparam.c @@ -32,8 +32,8 @@ typedef inquiry lenfunc; #define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_type(obj, struct loadparm_context) #define PyLoadparmService_AsLoadparmService(obj) py_talloc_get_type(obj, struct loadparm_service) -PyAPI_DATA(PyTypeObject) PyLoadparmContext; -PyAPI_DATA(PyTypeObject) PyLoadparmService; +extern PyTypeObject PyLoadparmContext; +extern PyTypeObject PyLoadparmService; PyObject *PyLoadparmService_FromService(struct loadparm_service *service) { |