bluez/log.c: Replace 'VERSION' by 'BLUEZ_VERSION_MAJOR.BLUEZ_VERSION_MINOR'

pull/5/head
Olivier Martin 2016-05-02 12:53:25 +01:00
parent 4db0060a3b
commit d9e67b829b
2 changed files with 1 additions and 3 deletions

View File

@ -42,8 +42,6 @@ set(gattlib_SRCS bluez/attrib/att.c
bluez/lib/uuid.c
bluez/src/log.c)
add_definitions(-DVERSION="4.101")
# Gattlib files
list(APPEND gattlib_SRCS src/gattlib_connect.c
src/gattlib_discover.c

View File

@ -133,7 +133,7 @@ void __btd_log_init(const char *debug, int detach)
openlog("bluetoothd", option, LOG_DAEMON);
syslog(LOG_INFO, "Bluetooth daemon %s", VERSION);
syslog(LOG_INFO, "Bluetooth daemon %d.%d", BLUEZ_VERSION_MAJOR, BLUEZ_VERSION_MINOR);
}
void __btd_log_cleanup(void)