fix for argp constants in global namespace

This commit is contained in:
john30
2017-01-15 17:43:43 +01:00
parent 8239ca8047
commit e256a74596
+6 -6
View File
@@ -115,12 +115,6 @@ static MessageMap* s_messageMap = NULL;
/** the @a MainLoop instance, or NULL. */
static MainLoop* s_mainLoop = NULL;
/** the version string of the program. */
const char *argp_program_version = "" PACKAGE_STRING "." REVISION "";
/** the report bugs to address of the program. */
const char *argp_program_bug_address = "" PACKAGE_BUGREPORT "";
/** the documentation of the program. */
static const char argpdoc[] =
"A daemon for communication with eBUS heating systems.";
@@ -974,6 +968,12 @@ result_t loadScanConfigFile(MessageMap* messages, unsigned char address, SymbolS
using namespace ebusd;
/** the version string of the program. */
const char *argp_program_version = "" PACKAGE_STRING "." REVISION "";
/** the report bugs to address of the program. */
const char *argp_program_bug_address = "" PACKAGE_BUGREPORT "";
/**
* Main method.
*