diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2020-11-18 14:22:26 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-23 16:02:49 +0000 |
commit | 71fb74aab300a852761e0ae3b0782c207f4aef52 (patch) | |
tree | 0fe6378967d350af497efdf7811b07de41a5cb18 /src/mongo/shell | |
parent | f39eb409f4f3e32b3d77b4b05bb977113c52f48c (diff) | |
download | mongo-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.cpp | 2 |
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); } |