diff options
author | Petr Viktorin <pviktori@redhat.com> | 2014-12-03 13:59:58 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-01-22 10:51:07 +0100 |
commit | 02980268e8641a1558c6f475d4669ce4d663504d (patch) | |
tree | 99af8a29bb905e0101d0a1e24bc78f55771571ec /source4/libcli | |
parent | 496b67b27ab9856017a07b2fbcc5ba465f1945b3 (diff) | |
download | samba-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.c | 2 |
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); |