mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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
5 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
||||
/*
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue