logd: liblog: logcat: switch to android_log_clockid()
android_log_timestamp returns the property leading letter,
it is better to return a clockid_t with android_log_clockid()
Bug: 23668800
Change-Id: I3c4e3e6b87f6676950797f1f0e203b44c542ed43
diff --git a/include/log/logger.h b/include/log/logger.h
index c795253..03e8451 100644
--- a/include/log/logger.h
+++ b/include/log/logger.h
@@ -11,6 +11,8 @@
#define _LIBS_LOG_LOGGER_H
#include <stdint.h>
+#include <time.h>
+
#include <log/log.h>
#include <log/log_read.h>
@@ -183,7 +185,7 @@
pid_t pid);
#define android_logger_list_close android_logger_list_free
-char android_log_timestamp();
+clockid_t android_log_clockid();
/*
* log_id_t helpers