Duplicate the decls for PySys_WriteStd{out,err} here so the VC++

compiler doesn't grumble.  Greg Stein's suggestion.
This commit is contained in:
Guido van Rossum 1998-09-17 14:00:22 +00:00
parent e0bdf99c0b
commit 1d2e9d19fe

View File

@ -61,6 +61,15 @@ PERFORMANCE OF THIS SOFTWARE.
#include "pydebug.h"
#ifdef HAVE_STDARG_PROTOTYPES
void PySys_WriteStdout(const char *format, ...);
void PySys_WriteStderr(const char *format, ...);
#else
/* Better to have no prototypes at all for varargs functions in this case */
void PySys_WriteStdout();
void PySys_WriteStderr();
#endif
#define addarc _Py_addarc
#define addbit _Py_addbit
#define adddfa _Py_adddfa