summaryrefslogtreecommitdiff
path: root/source4/param/pyparam.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 21:03:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 21:03:09 +0100
commitc023828962d7050668c38129170121cc50cd300f (patch)
tree02e9eda98a5418cc4555c5b24ca8a1612a706c18 /source4/param/pyparam.c
parentb682b0feb0af40656cd1b71a859cb1f23edcbcf5 (diff)
downloadsamba-c023828962d7050668c38129170121cc50cd300f.tar.gz
samba-c023828962d7050668c38129170121cc50cd300f.tar.bz2
samba-c023828962d7050668c38129170121cc50cd300f.zip
Fix missing symbols issues when building with shared libraries.
Diffstat (limited to 'source4/param/pyparam.c')
-rw-r--r--source4/param/pyparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 0cf651dd7c..acadcc08b0 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -310,7 +310,7 @@ PyTypeObject PyLoadparmService = {
.tp_flags = Py_TPFLAGS_DEFAULT,
};
-struct loadparm_context *lp_from_py_object(PyObject *py_obj)
+_PUBLIC_ struct loadparm_context *lp_from_py_object(PyObject *py_obj)
{
struct loadparm_context *lp_ctx;
if (PyString_Check(py_obj)) {