Commit 6a8abe27 authored by Kipp Cannon's avatar Kipp Cannon

six.h: remove inline keyword

parent 577e80c2
Pipeline #44054 failed with stages
in 1 minute and 40 seconds
...@@ -48,7 +48,7 @@ typedef struct PyModuleDef { ...@@ -48,7 +48,7 @@ typedef struct PyModuleDef {
#define PyModuleDef_HEAD_INIT 0 #define PyModuleDef_HEAD_INIT 0
static inline PyObject *PyModule_Create(PyModuleDef *def) static PyObject *PyModule_Create(PyModuleDef *def)
{ {
(void)PyModule_Create; /* Suppress unused function warning */ (void)PyModule_Create; /* Suppress unused function warning */
...@@ -61,7 +61,7 @@ static inline PyObject *PyModule_Create(PyModuleDef *def) ...@@ -61,7 +61,7 @@ static inline PyObject *PyModule_Create(PyModuleDef *def)
return Py_InitModule3(def->m_name, def->m_methods, def->m_doc); return Py_InitModule3(def->m_name, def->m_methods, def->m_doc);
} }
static inline PyObject *PyModule_Create2(PyModuleDef *def, int module_api_version) static PyObject *PyModule_Create2(PyModuleDef *def, int module_api_version)
{ {
(void)PyModule_Create2; /* Suppress unused function warning */ (void)PyModule_Create2; /* Suppress unused function warning */
......
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