Cleanup: bt_clock_snapshot_set_raw_value is now a static inline
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 18 Dec 2018 18:09:48 +0000 (13:09 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:37 +0000 (18:19 -0400)
commit1abcbdc0f72c6a9b4a467d1c71689fc6cd4a9654
treeceb980ce33328aec3346ac972d3280534ab41a3c
parent3e3ea13eb11fb3609f24c68560eee9c31c7da72f
Cleanup: bt_clock_snapshot_set_raw_value is now a static inline

This fixes the following Clang warning:
  In file included from clock-class.c:32:
  ../../include/babeltrace/trace-ir/clock-snapshot-internal.h:98:1: error: attribute declaration must precede definition [-Werror,-Wignored-attributes]
  BT_HIDDEN
  ^
  ../../include/babeltrace/babeltrace-internal.h:77:34: note: expanded from macro 'BT_HIDDEN'
  #define BT_HIDDEN __attribute__((visibility("hidden")))
                                   ^
  ../../include/babeltrace/trace-ir/clock-snapshot-internal.h:69:6: note: previous definition is here
  void bt_clock_snapshot_set_raw_value(struct bt_clock_snapshot *clock_snapshot,
       ^
  1 error generated.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
include/babeltrace/trace-ir/clock-snapshot-internal.h
This page took 0.042645 seconds and 4 git commands to generate.