lib: rename "begin" to "beginning" when used as a noun
[babeltrace.git] / include / babeltrace / trace-ir / stream-class-internal.h
index 6df193ebc81385cd8f7be8ebbb372bb140e0b0bd..8774db7a9036beb7658599f5f41b5c69135fc21e 100644 (file)
@@ -2,8 +2,6 @@
 #define BABELTRACE_TRACE_IR_STREAM_CLASS_INTERNAL_H
 
 /*
- * BabelTrace - Trace IR: Stream class internal
- *
  * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
@@ -73,7 +71,7 @@ struct bt_stream_class {
 };
 
 BT_HIDDEN
-void _bt_stream_class_freeze(struct bt_stream_class *stream_class);
+void _bt_stream_class_freeze(const struct bt_stream_class *stream_class);
 
 #ifdef BT_DEV_MODE
 # define bt_stream_class_freeze                _bt_stream_class_freeze
@@ -82,8 +80,8 @@ void _bt_stream_class_freeze(struct bt_stream_class *stream_class);
 #endif
 
 static inline
-struct bt_trace *bt_stream_class_borrow_trace_inline(
-               struct bt_stream_class *stream_class)
+struct bt_trace_class *bt_stream_class_borrow_trace_class_inline(
+               const struct bt_stream_class *stream_class)
 {
        BT_ASSERT(stream_class);
        return (void *) bt_object_borrow_parent(&stream_class->base);
This page took 0.023898 seconds and 4 git commands to generate.