From d3d453398b93f541667fe075dc2086f8f83e261a Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 26 Feb 2017 12:47:12 +0100 Subject: [PATCH] moved argp globals back outside of namespace --- src/ebusd/main.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index 8b742c89..783b24b6 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -33,6 +33,13 @@ #include "ebusd/mainloop.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 { 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. * @param argc the number of command line arguments.