Signed-off-by: Michael Jeanson <[email protected]>
---
 converter/babeltrace-log.c      | 2 +-
 include/babeltrace/compat/utc.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/converter/babeltrace-log.c b/converter/babeltrace-log.c
index db7f60f..8cb35d1 100644
--- a/converter/babeltrace-log.c
+++ b/converter/babeltrace-log.c
@@ -230,7 +230,7 @@ void write_event_header(struct ctf_stream_pos *pos, char 
*line,
                        ti.tm_min = min;
                        ti.tm_sec = sec;
 
-                       ep_sec = babeltrace_timegm(&ti);
+                       ep_sec = bt_timegm(&ti);
                        if (ep_sec != (time_t) -1) {
                                *ts = (uint64_t) ep_sec * NSEC_PER_SEC
                                        + (uint64_t) msec * NSEC_PER_MSEC;
diff --git a/include/babeltrace/compat/utc.h b/include/babeltrace/compat/utc.h
index d59d856..fd41f62 100644
--- a/include/babeltrace/compat/utc.h
+++ b/include/babeltrace/compat/utc.h
@@ -29,7 +29,7 @@
 #if defined(_BSD_SOURCE) || defined(_SVID_SOURCE)
 
 static inline
-time_t babeltrace_timegm(struct tm *tm)
+time_t bt_timegm(struct tm *tm)
 {
        return timegm(tm);
 }
@@ -47,7 +47,7 @@ time_t babeltrace_timegm(struct tm *tm)
  */
 
 static inline
-time_t babeltrace_timegm(struct tm *tm)
+time_t bt_timegm(struct tm *tm)
 {
        time_t ret;
        char *tz;
-- 
2.7.4

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to