]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use PyAPI_DATA.
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 17 Jan 2010 15:55:45 +0000 (15:55 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 17 Jan 2010 15:55:45 +0000 (15:55 +0000)
Include/bytearrayobject.h

index 8702e5a834026dcf1d4a9e41c661a65981377f83..e1281a628c76642521d028df82aae17f2e69482e 100644 (file)
@@ -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
 }