summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2012-01-18 09:45:40 +0100
committerChristian Muck <christian.muck@bmw.de>2012-01-18 09:45:40 +0100
commit7348250fccdabfd4762dbae90637373f6585f4eb (patch)
treef5df0fb70255d94f75190df64d57e33cf410b5e0 /src
parentf44294bba3598c84bb5fc766efa81b0634793e42 (diff)
downloadDLT-daemon-7348250fccdabfd4762dbae90637373f6585f4eb.tar.gz
[GSW-136] Improve including/prefixing of dlt_version.h fixed
Diffstat (limited to 'src')
-rwxr-xr-xsrc/daemon/dlt-daemon.c2
-rwxr-xr-xsrc/shared/dlt_common.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
index 51b7b02..4308171 100755
--- a/src/daemon/dlt-daemon.c
+++ b/src/daemon/dlt-daemon.c
@@ -132,7 +132,7 @@ static pthread_attr_t dlt_daemon_timingpacket_thread_attr;
void usage()
{
printf("Usage: dlt-daemon [options]\n");
- printf("DLT logging daemon\n");
+ printf("DLT logging daemon %s\n", _DLT_PACKAGE_REVISION);
printf("Options:\n");
printf(" -d Daemonize\n");
printf(" -h Usage\n");
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c
index 6b75e79..033ea1f 100755
--- a/src/shared/dlt_common.c
+++ b/src/shared/dlt_common.c
@@ -3044,17 +3044,17 @@ speed_t dlt_convert_serial_speed(int baudrate)
void dlt_get_version(char *buf)
{
sprintf(buf,"DLT Package Version: %s %s, Package Revision: %s, build on %s %s\n",
- PACKAGE_VERSION, PACKAGE_VERSION_STATE, PACKAGE_REVISION, __DATE__ , __TIME__ );
+ _DLT_PACKAGE_VERSION, _DLT_PACKAGE_VERSION_STATE, _DLT_PACKAGE_REVISION, __DATE__ , __TIME__ );
}
void dlt_get_major_version(char *buf)
{
- sprintf(buf,"%s",PACKAGE_MAJOR_VERSION);
+ sprintf(buf,"%s",_DLT_PACKAGE_MAJOR_VERSION);
}
void dlt_get_minor_version(char *buf)
{
- sprintf(buf,"%s",PACKAGE_MINOR_VERSION);
+ sprintf(buf,"%s",_DLT_PACKAGE_MINOR_VERSION);
}