mirror of https://github.com/python/cpython
bpo-45434: bytearrayobject.h no longer includes <stdarg.h> (GH-28913)
bytearrayobject.h and _lzmamodule.c don't use va_list and so don't need to include <stdarg.h>.
This commit is contained in:
parent
489176e428
commit
c63623a0a6
|
@ -6,8 +6,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
/* Type PyByteArrayObject represents a mutable array of bytes.
|
||||
* The Python API is that of a sequence;
|
||||
* the bytes are mapped to ints in [0, 256).
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdarg.h> // va_list
|
||||
|
||||
/*
|
||||
Type PyBytesObject represents a byte string. An extra zero byte is
|
||||
|
|
|
@ -7,7 +7,7 @@ extern "C" {
|
|||
|
||||
/* Module support interface */
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdarg.h> // va_list
|
||||
|
||||
/* If PY_SSIZE_T_CLEAN is defined, each functions treats #-specifier
|
||||
to mean Py_ssize_t */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef Py_UNICODEOBJECT_H
|
||||
#define Py_UNICODEOBJECT_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdarg.h> // va_list
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "Python.h"
|
||||
#include "structmember.h" // PyMemberDef
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <lzma.h>
|
||||
|
|
Loading…
Reference in New Issue