From e256a7459649a89d89e4636983cb18b10130a132 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 15 Jan 2017 17:43:43 +0100 Subject: [PATCH] fix for argp constants in global namespace --- src/ebusd/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index e387f39b..888d99b5 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -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. *