summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Util.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-01-11 18:09:22 +0100
committerJose <jose@zeroc.com>2019-01-11 18:10:30 +0100
commit6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9 (patch)
tree21ae24549d02f8fd98d8211949dfdd4ab588d114 /python/modules/IcePy/Util.cpp
parentFix whitespace (diff)
downloadice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.bz2
ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.xz
ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.zip
GCC 8 Build fixes for Python, PHP and Ruby
Diffstat (limited to 'python/modules/IcePy/Util.cpp')
-rw-r--r--python/modules/IcePy/Util.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/modules/IcePy/Util.cpp b/python/modules/IcePy/Util.cpp
index 077f10be606..6b9729a1ee1 100644
--- a/python/modules/IcePy/Util.cpp
+++ b/python/modules/IcePy/Util.cpp
@@ -1201,7 +1201,7 @@ IcePy::callMethod(PyObject* method, PyObject* arg1, PyObject* arg2)
extern "C"
PyObject*
-IcePy_stringVersion(PyObject* /*self*/)
+IcePy_stringVersion(PyObject* /*self*/, PyObject* /*args*/)
{
string s = ICE_STRING_VERSION;
return IcePy::createString(s);
@@ -1209,28 +1209,28 @@ IcePy_stringVersion(PyObject* /*self*/)
extern "C"
PyObject*
-IcePy_intVersion(PyObject* /*self*/)
+IcePy_intVersion(PyObject* /*self*/, PyObject* /*args*/)
{
return PyLong_FromLong(ICE_INT_VERSION);
}
extern "C"
PyObject*
-IcePy_currentProtocol(PyObject* /*self*/)
+IcePy_currentProtocol(PyObject* /*self*/, PyObject* /*args*/)
{
return IcePy::createProtocolVersion(Ice::currentProtocol);
}
extern "C"
PyObject*
-IcePy_currentProtocolEncoding(PyObject* /*self*/)
+IcePy_currentProtocolEncoding(PyObject* /*self*/, PyObject* /*args*/)
{
return IcePy::createEncodingVersion(Ice::currentProtocolEncoding);
}
extern "C"
PyObject*
-IcePy_currentEncoding(PyObject* /*self*/)
+IcePy_currentEncoding(PyObject* /*self*/, PyObject* /*args*/)
{
return IcePy::createEncodingVersion(Ice::currentEncoding);
}
@@ -1265,7 +1265,7 @@ IcePy_stringToEncodingVersion(PyObject* /*self*/, PyObject* args)
extern "C"
PyObject*
-IcePy_generateUUID(PyObject* /*self*/)
+IcePy_generateUUID(PyObject* /*self*/, PyObject* /*args*/)
{
string uuid = Ice::generateUUID();
return IcePy::createString(uuid);