summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2019-11-06 12:27:11 +0100
committerBenjamin Kramer <benny.kra@googlemail.com>2019-11-06 12:27:11 +0100
commiteb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea (patch)
tree700a00b1e9b3527047e2ab788ca63aeec8682498 /lldb/source/Plugins/ScriptInterpreter/Python
parent47a5c36b37f033496de01b48cef0b2f1903c33cc (diff)
downloadbcm5719-llvm-eb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea.tar.gz
bcm5719-llvm-eb12b3b8a3e5f41a6ab84f94dfc85551f92bc2ea.zip
Silence warning, PyMODINIT_FUNC already contains extern "C"
PythonReadline.h:22:12: warning: duplicate 'extern' declaration specifier [-Wduplicate-decl-specifier]
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud