summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-12-03 13:59:58 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-01-22 10:51:07 +0100
commit02980268e8641a1558c6f475d4669ce4d663504d (patch)
tree99af8a29bb905e0101d0a1e24bc78f55771571ec /lib/ldb-samba
parent496b67b27ab9856017a07b2fbcc5ba465f1945b3 (diff)
downloadsamba-02980268e8641a1558c6f475d4669ce4d663504d.tar.gz
Remove use of the "staticforward" macro
This macro was used for compatibility with broken compilers. Since Python 2.3, it is always defined as `static`, and only exists "for source compatibility with old C extensions". Signed-off-by: Petr Viktorin <pviktori@redhat.com> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/ldb-samba')
-rw-r--r--lib/ldb-samba/pyldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb-samba/pyldb.c b/lib/ldb-samba/pyldb.c
index aae25a01e68..6c0d2a76b2e 100644
--- a/lib/ldb-samba/pyldb.c
+++ b/lib/ldb-samba/pyldb.c
@@ -33,7 +33,7 @@ void init_ldb(void);
static PyObject *pyldb_module;
static PyObject *py_ldb_error;
-staticforward PyTypeObject PySambaLdb;
+static PyTypeObject PySambaLdb;
static void PyErr_SetLdbError(PyObject *error, int ret, struct ldb_context *ldb_ctx)
{