summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2020-11-18 14:22:26 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-23 16:02:49 +0000
commit71fb74aab300a852761e0ae3b0782c207f4aef52 (patch)
tree0fe6378967d350af497efdf7811b07de41a5cb18 /src/mongo/shell
parentf39eb409f4f3e32b3d77b4b05bb977113c52f48c (diff)
downloadmongo-71fb74aab300a852761e0ae3b0782c207f4aef52.tar.gz
SERVER-48696 sigaction actions need to all be extern "C"
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/mongo_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/mongo_main.cpp b/src/mongo/shell/mongo_main.cpp
index 4a4069077f7..6d0ff876265 100644
--- a/src/mongo/shell/mongo_main.cpp
+++ b/src/mongo/shell/mongo_main.cpp
@@ -304,7 +304,7 @@ void killOps() {
!shellGlobalParams.autoKillOp);
}
-void quitNicely(int sig) {
+extern "C" void quitNicely(int sig) {
shutdown(EXIT_CLEAN);
}