mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-13 02:36:06 -04:00
Fix warning no previous extern declaration for non-static variable
This commit is contained in:
@ -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 ) ;
|
||||
|
4
main.cpp
4
main.cpp
@ -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 ) ;
|
||||
|
Reference in New Issue
Block a user