diff options
Diffstat (limited to 'source4/lib/registry/pyregistry.c')
-rw-r--r-- | source4/lib/registry/pyregistry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c index 9952ed3494..8b75bbb60d 100644 --- a/source4/lib/registry/pyregistry.c +++ b/source4/lib/registry/pyregistry.c @@ -27,9 +27,9 @@ #include "auth/credentials/pycredentials.h" #include "param/pyparam.h" -PyAPI_DATA(PyTypeObject) PyRegistryKey; -PyAPI_DATA(PyTypeObject) PyRegistry; -PyAPI_DATA(PyTypeObject) PyHiveKey; +extern PyTypeObject PyRegistryKey; +extern PyTypeObject PyRegistry; +extern PyTypeObject PyHiveKey; /*#define PyRegistryKey_AsRegistryKey(obj) py_talloc_get_type(obj, struct registry_key)*/ #define PyRegistry_AsRegistryContext(obj) ((struct registry_context *)py_talloc_get_ptr(obj)) |