summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_user_macros.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-10-28 10:37:08 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-10-28 10:37:08 +0200
commit0d2cf007fbc852d2b9a745d792f7d4626dbe14f6 (patch)
treeff66380f1a57a267ee5b5f2bb2a2d37e02dc2e9c /include/dlt/dlt_user_macros.h
parent62c994014e24b3eee0bf1da5b09d8c797bd5b4f3 (diff)
downloadDLT-daemon-0d2cf007fbc852d2b9a745d792f7d4626dbe14f6.tar.gz
Reverted changes in dlt_register_app() function.
Added new dlt_check_library_version() function.
Diffstat (limited to 'include/dlt/dlt_user_macros.h')
-rwxr-xr-xinclude/dlt/dlt_user_macros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlt/dlt_user_macros.h b/include/dlt/dlt_user_macros.h
index 979026a..c9b19c9 100755
--- a/include/dlt/dlt_user_macros.h
+++ b/include/dlt/dlt_user_macros.h
@@ -115,7 +115,8 @@ extern DltContext CONTEXT;
* @param DESCRIPTION ASCII string containing description
*/
#define DLT_REGISTER_APP(APPID,DESCRIPTION) \
- dlt_register_app( APPID, DESCRIPTION, PACKAGE_MAJOR_VERSION, PACKAGE_MINOR_VERSION );
+ dlt_check_library_version(PACKAGE_MAJOR_VERSION, PACKAGE_MINOR_VERSION ); \
+ dlt_register_app( APPID, DESCRIPTION);
/**