diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-10-15 10:58:42 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-10-15 10:58:42 +0200 |
| commit | 2e754964b0570ff72c82aa012142adf504e01f0e (patch) | |
| tree | a6cf324f43fe5fd11a5651c6f8186a987a1da922 /python/tag.cc | |
| parent | 43d87e1b14719750585412ab1d15fc30e280b7d0 (diff) | |
| parent | 7bd938dd78ab27ec23ffd84811dbdfa5dd83593a (diff) | |
| download | python-apt-2e754964b0570ff72c82aa012142adf504e01f0e.tar.gz | |
merge from the debian-sid branch
Diffstat (limited to 'python/tag.cc')
| -rw-r--r-- | python/tag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tag.cc b/python/tag.cc index 248d818d..6ae439f5 100644 --- a/python/tag.cc +++ b/python/tag.cc @@ -74,7 +74,7 @@ int TagFileClear(PyObject *self) { PyString_FromStringAndSize((v), (len)) #define TagSecString_FromString(self, v) PyString_FromString(v) #else -PyObject *TagSecString_FromStringAndSize(PyObject *self, const char *v, +static PyObject *TagSecString_FromStringAndSize(PyObject *self, const char *v, Py_ssize_t len) { TagSecData *Self = (TagSecData *)self; if (Self->Bytes) @@ -85,7 +85,7 @@ PyObject *TagSecString_FromStringAndSize(PyObject *self, const char *v, return PyUnicode_FromStringAndSize(v, len); } -PyObject *TagSecString_FromString(PyObject *self, const char *v) { +static PyObject *TagSecString_FromString(PyObject *self, const char *v) { TagSecData *Self = (TagSecData *)self; if (Self->Bytes) return PyBytes_FromString(v); |
