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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit1e8d43688c7a4472aca025a209d2108747fc799c
treeaf1d9d8b0df954e2b5f9c30796c5138cdda083dc
parentfdf0b89e8b1c00f8113a07cc38b90e8a1bc420aa
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.024739 seconds and 4 git commands to generate.