From eb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 6 Nov 2019 12:27:11 +0100 Subject: Silence warning, PyMODINIT_FUNC already contains extern "C" PythonReadline.h:22:12: warning: duplicate 'extern' declaration specifier [-Wduplicate-decl-specifier] --- lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h index faf95bb6448..4f25c46eefa 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 -- cgit v1.2.3