[Python-checkins] python/dist/src/Include pgenheaders.h,2.29,2.30
nascheme@users.sourceforge.net
nascheme@users.sourceforge.net
Sun, 15 Sep 2002 07:09:13 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv22328
Modified Files:
pgenheaders.h
Log Message:
Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC
might use __attribute__ in other ways (e.g. CodeWarrior).
Index: pgenheaders.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pgenheaders.h,v
retrieving revision 2.29
retrieving revision 2.30
diff -C2 -d -r2.29 -r2.30
*** pgenheaders.h 12 Aug 2002 07:21:57 -0000 2.29
--- pgenheaders.h 15 Sep 2002 14:09:11 -0000 2.30
***************
*** 11,17 ****
PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
! __attribute__((format(printf, 1, 2)));
PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
! __attribute__((format(printf, 1, 2)));
#define addarc _Py_addarc
--- 11,17 ----
PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
! Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
! Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
#define addarc _Py_addarc