diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-09-15 14:09:54 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-09-15 14:09:54 (GMT) |
commit | 96aa0acef021f77d6e5b861201ccd952aa6f6469 (patch) | |
tree | 313b56f49f11a8453cbe46194b6c9043bdca76f8 /Include/sysmodule.h | |
parent | 7f7c3d0a9c401d7bc9a9d86ec7181cf09c4b3bab (diff) | |
download | cpython-96aa0acef021f77d6e5b861201ccd952aa6f6469.zip cpython-96aa0acef021f77d6e5b861201ccd952aa6f6469.tar.gz cpython-96aa0acef021f77d6e5b861201ccd952aa6f6469.tar.bz2 |
Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC
might use __attribute__ in other ways (e.g. CodeWarrior).
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 4f05ac9..1c9b187 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -14,9 +14,9 @@ PyAPI_FUNC(void) PySys_SetArgv(int, char **); PyAPI_FUNC(void) PySys_SetPath(char *); PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) - __attribute__((format(printf, 1, 2))); + Py_GCC_ATTRIBUTE((format(printf, 1, 2))); PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) - __attribute__((format(printf, 1, 2))); + Py_GCC_ATTRIBUTE((format(printf, 1, 2))); PyAPI_DATA(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc; PyAPI_DATA(int) _PySys_CheckInterval; |