Author: Benjamin Kramer Date: 2019-11-06T12:27:11+01:00 New Revision: eb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea
URL: https://github.com/llvm/llvm-project/commit/eb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea DIFF: https://github.com/llvm/llvm-project/commit/eb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea.diff LOG: Silence warning, PyMODINIT_FUNC already contains extern "C" PythonReadline.h:22:12: warning: duplicate 'extern' declaration specifier [-Wduplicate-decl-specifier] Added: Modified: lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h index faf95bb64486..4f25c46eefa8 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h @@ -19,7 +19,7 @@ // #define LLDB_USE_LIBEDIT_READLINE_COMPAT_MODULE 1 -extern "C" PyMODINIT_FUNC initlldb_readline(void); +PyMODINIT_FUNC initlldb_readline(void); #endif _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits