Fix warning no previous extern declaration for non-static variable

This commit is contained in:
Ai Lin Chia
2016-06-01 15:52:36 +02:00
parent 117f571393
commit 601634b74f
2 changed files with 3 additions and 4 deletions

@ -137,6 +137,9 @@ class PingServer {
extern class PingServer g_pingServer;
extern bool g_recoveryMode;
extern int32_t g_recoveryLevel;
// . returns false if blocked, true otherwise
// . use this for sending generic emails
bool sendEmail ( class EmailInfo *ei ) ;

@ -99,10 +99,6 @@ void dumpClusterdb ( const char *coll,int32_t sfn,int32_t numFiles,bool in
void dumpLinkdb ( const char *coll, int32_t sfn, int32_t numFiles, bool includeTree,
const char *url );
extern bool g_recoveryMode;
extern int32_t g_recoveryLevel;
bool isRecoveryFutile ( ) ;
int copyFiles ( const char *dstDir ) ;