mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Make various internal _testbuffer symbols static. (GH-8160)
(cherry picked from commit 6cfe45a5c3)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
This commit is contained in:
committed by
GitHub
parent
75f2eb5eca
commit
c34e4e987b
@@ -8,13 +8,13 @@
|
||||
|
||||
|
||||
/* struct module */
|
||||
PyObject *structmodule = NULL;
|
||||
PyObject *Struct = NULL;
|
||||
PyObject *calcsize = NULL;
|
||||
static PyObject *structmodule = NULL;
|
||||
static PyObject *Struct = NULL;
|
||||
static PyObject *calcsize = NULL;
|
||||
|
||||
/* cache simple format string */
|
||||
static const char *simple_fmt = "B";
|
||||
PyObject *simple_format = NULL;
|
||||
static PyObject *simple_format = NULL;
|
||||
#define SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
|
||||
#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user