mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)
This commit is contained in:
parent
ddc4a782d3
commit
cb04a09d2d
19 changed files with 9 additions and 171 deletions
|
@ -292,11 +292,7 @@ _PySys_Audit(PyThreadState *tstate, const char *event,
|
|||
const char *argFormat, ...)
|
||||
{
|
||||
va_list vargs;
|
||||
#ifdef HAVE_STDARG_PROTOTYPES
|
||||
va_start(vargs, argFormat);
|
||||
#else
|
||||
va_start(vargs);
|
||||
#endif
|
||||
int res = sys_audit_tstate(tstate, event, argFormat, vargs);
|
||||
va_end(vargs);
|
||||
return res;
|
||||
|
@ -307,11 +303,7 @@ PySys_Audit(const char *event, const char *argFormat, ...)
|
|||
{
|
||||
PyThreadState *tstate = _PyThreadState_GET();
|
||||
va_list vargs;
|
||||
#ifdef HAVE_STDARG_PROTOTYPES
|
||||
va_start(vargs, argFormat);
|
||||
#else
|
||||
va_start(vargs);
|
||||
#endif
|
||||
int res = sys_audit_tstate(tstate, event, argFormat, vargs);
|
||||
va_end(vargs);
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue