summaryrefslogtreecommitdiff
path: root/pch.h
diff options
context:
space:
mode:
authoralerner <alerner@installer-desktop.(none)>2010-05-28 12:08:36 -0400
committeralerner <alerner@installer-desktop.(none)>2010-05-28 12:08:36 -0400
commit1798ea2d855505d2a02cf8a9b1936487caa1b568 (patch)
treefaf03eb3d9ad94bea394b831fd29cacd8afbe684 /pch.h
parent59240440a809f3ad0108eb4154a1abaa7bfa5782 (diff)
downloadmongo-1798ea2d855505d2a02cf8a9b1936487caa1b568.tar.gz
Pull all the code for defining and printing the version of executables to one place.
Diffstat (limited to 'pch.h')
-rw-r--r--pch.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/pch.h b/pch.h
index 80528b4270c..08de1a2e764 100644
--- a/pch.h
+++ b/pch.h
@@ -81,10 +81,7 @@ namespace mongo {
// pdfile versions
const int VERSION = 4;
const int VERSION_MINOR = 5;
-
- // mongo version
- extern const char versionString[];
-
+
enum ExitCode {
EXIT_CLEAN = 0 ,
EXIT_BADOPTIONS = 2 ,
@@ -138,12 +135,6 @@ namespace mongo {
namespace mongo {
- const char * gitVersion();
- string sysInfo();
- string mongodVersion();
-
- void printGitVersion();
- void printSysInfo();
-
typedef char _TCHAR;
+
} // namespace mongo