chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move _cleanup_ attribute in front of the type
[elogind.git]
/
src
/
python-systemd
/
_daemon.c
diff --git
a/src/python-systemd/_daemon.c
b/src/python-systemd/_daemon.c
index 8f93d91b48292e45a8af2e6b2a5587b39605db9a..ce2064935debbc15f9886f78272bc9c19ec1ccc5 100644
(file)
--- a/
src/python-systemd/_daemon.c
+++ b/
src/python-systemd/_daemon.c
@@
-244,7
+244,7
@@
static PyObject* is_socket_unix(PyObject *self, PyObject *args) {
Py_ssize_t length = 0;
#if PY_MAJOR_VERSION >=3 && PY_MINOR_VERSION >= 1
Py_ssize_t length = 0;
#if PY_MAJOR_VERSION >=3 && PY_MINOR_VERSION >= 1
-
PyObject _cleanup_Py_DECREF_
*_path = NULL;
+
_cleanup_Py_DECREF_ PyObject
*_path = NULL;
if (!PyArg_ParseTuple(args, "i|iiO&:_is_socket_unix",
&fd, &type, &listening, Unicode_FSConverter, &_path))
return NULL;
if (!PyArg_ParseTuple(args, "i|iiO&:_is_socket_unix",
&fd, &type, &listening, Unicode_FSConverter, &_path))
return NULL;