moved argp globals back outside of namespace

This commit is contained in:
john30
2017-02-26 12:47:12 +01:00
parent ca164185dc
commit d3d453398b
+7 -6
View File
@@ -33,6 +33,13 @@
#include "ebusd/mainloop.h" #include "ebusd/mainloop.h"
#include "lib/utils/log.h" #include "lib/utils/log.h"
/** 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 "";
namespace ebusd { namespace ebusd {
using std::dec; using std::dec;
@@ -1039,12 +1046,6 @@ result_t loadScanConfigFile(MessageMap* messages, unsigned char address, SymbolS
} }
/** 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 function. * Main function.
* @param argc the number of command line arguments. * @param argc the number of command line arguments.