Commit 6cfe45a5 authored by Benjamin Peterson's avatar Benjamin Peterson Committed by GitHub

Make various internal _testbuffer symbols static. (GH-8160)

parent 86bfed37
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
/* struct module */ /* struct module */
PyObject *structmodule = NULL; static PyObject *structmodule = NULL;
PyObject *Struct = NULL; static PyObject *Struct = NULL;
PyObject *calcsize = NULL; static PyObject *calcsize = NULL;
/* cache simple format string */ /* cache simple format string */
static const char *simple_fmt = "B"; 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 SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt) #define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment