summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-17 16:06:27 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-17 16:06:27 (GMT)
commit59c6efabb4edc425565fec0be81e2c44b9bec145 (patch)
tree7f9fe92e6035c20737f60edb2acad74e4c5e7ed2
parentbb667d433c9cf535dd2e574d039f4d905f53ff06 (diff)
downloadcpython-59c6efabb4edc425565fec0be81e2c44b9bec145.zip
cpython-59c6efabb4edc425565fec0be81e2c44b9bec145.tar.gz
cpython-59c6efabb4edc425565fec0be81e2c44b9bec145.tar.bz2
Merged revisions 77581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines Use PyAPI_DATA. ........
-rw-r--r--Include/bytearrayobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/bytearrayobject.h b/Include/bytearrayobject.h
index 8702e5a..e1281a6 100644
--- a/Include/bytearrayobject.h
+++ b/Include/bytearrayobject.h
@@ -49,7 +49,7 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)
#define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self))
-extern char _PyByteArray_empty_string[];
+PyAPI_DATA(char) _PyByteArray_empty_string[];
#ifdef __cplusplus
}