summaryrefslogtreecommitdiff
path: root/source4/libcli
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 /source4/libcli
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 'source4/libcli')
-rw-r--r--source4/libcli/pysmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/pysmb.c b/source4/libcli/pysmb.c
index 456b01d87d2..dde37e0467f 100644
--- a/source4/libcli/pysmb.c
+++ b/source4/libcli/pysmb.c
@@ -38,7 +38,7 @@
#include "libcli/security/security_descriptor.h"
#include "librpc/rpc/pyrpc_util.h"
-staticforward PyTypeObject PySMB;
+static PyTypeObject PySMB;
void initsmb(void);