From: Antoine Pitrou Date: Sun, 17 Jan 2010 15:55:45 +0000 (+0000) Subject: Use PyAPI_DATA. X-Git-Tag: v2.7a3~130 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60ba2c8bf8d8457282232127fd13543af4956a3d;p=thirdparty%2FPython%2Fcpython.git Use PyAPI_DATA. --- diff --git a/Include/bytearrayobject.h b/Include/bytearrayobject.h index 8702e5a83402..e1281a628c76 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 }