From: Jeremy Cline Date: Fri, 29 Jun 2018 22:47:18 +0000 (-0400) Subject: Fix redundant declaration of _PyImport_AddModuleObject (GH-7992) X-Git-Tag: v3.8.0a1~1464 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f874bd1f0630644f3e3faaa2d51e6749465c70bd;p=thirdparty%2FPython%2Fcpython.git Fix redundant declaration of _PyImport_AddModuleObject (GH-7992) --- diff --git a/Include/import.h b/Include/import.h index 13f32a1004cf..c664803478a5 100644 --- a/Include/import.h +++ b/Include/import.h @@ -54,9 +54,6 @@ PyAPI_FUNC(PyObject *) PyImport_AddModuleObject( PyObject *name ); #endif -#ifndef Py_LIMITED_API -PyAPI_FUNC(PyObject *) _PyImport_AddModuleObject(PyObject *, PyObject *); -#endif PyAPI_FUNC(PyObject *) PyImport_AddModule( const char *name /* UTF-8 encoded string */ );