libsaria: Variables in version.h should be static

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-03-08 08:30:02 -05:00
parent d764489e89
commit 933fc308e6
1 changed files with 7 additions and 6 deletions

View File

@ -5,14 +5,15 @@
#include <sstream>
using namespace std;
unsigned int MAJOR = __MAJOR__;
unsigned int MINOR = __MINOR__;
unsigned int BUG = __BUG__;
string EXTRA = "__EXTRA__";
static unsigned int MAJOR = __MAJOR__;
static unsigned int MINOR = __MINOR__;
static unsigned int BUG = __BUG__;
static string EXTRA = "__EXTRA__";
#ifdef DEBUG
bool IS_DEBUG = true;
static bool IS_DEBUG = true;
#else /* DEBUG */
bool IS_DEBUG = false;
static bool IS_DEBUG = false;
#endif /* DEBUG */
string vers_str()