mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
ANSIfications: fix empty arglists, and remove the checks for
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
This commit is contained in:
parent
7889010731
commit
5f37591a16
6 changed files with 3 additions and 34 deletions
|
@ -35,14 +35,8 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|||
|
||||
#include "pydebug.h"
|
||||
|
||||
#ifdef HAVE_STDARG_PROTOTYPES
|
||||
DL_IMPORT(void) PySys_WriteStdout(const char *format, ...);
|
||||
DL_IMPORT(void) PySys_WriteStderr(const char *format, ...);
|
||||
#else
|
||||
/* Better to have no prototypes at all for varargs functions in this case */
|
||||
DL_IMPORT(void) PySys_WriteStdout();
|
||||
DL_IMPORT(void) PySys_WriteStderr();
|
||||
#endif
|
||||
|
||||
#define addarc _Py_addarc
|
||||
#define addbit _Py_addbit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue