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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commitedba9d2569b3e7c3929d5db2c136256ee4802730
treeaf1d9d8b0df954e2b5f9c30796c5138cdda083dc
parentcef3fd3eeee4b6a2c7d0ca62b0aa32072c9d5fae
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.026328 seconds and 5 git commands to generate.