X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-ir%2Ftrace-internal.h;h=fcf1bd29ebad6d5e83f93bb80dc009b2c7b1cee0;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hp=abf1d57fad2c3484af5ffe994e3fccc6fd886ef5;hpb=5cd6d0e5fa67c2bdd21dc153313618260595d7bc;p=babeltrace.git diff --git a/include/babeltrace/trace-ir/trace-internal.h b/include/babeltrace/trace-ir/trace-internal.h index abf1d57f..fcf1bd29 100644 --- a/include/babeltrace/trace-ir/trace-internal.h +++ b/include/babeltrace/trace-ir/trace-internal.h @@ -2,8 +2,6 @@ #define BABELTRACE_TRACE_IR_TRACE_INTERNAL_H /* - * BabelTrace - Trace IR: Trace internal - * * Copyright 2014 Jérémie Galarneau * * Author: Jérémie Galarneau @@ -88,7 +86,7 @@ struct bt_trace { }; BT_HIDDEN -void _bt_trace_freeze(struct bt_trace *trace); +void _bt_trace_freeze(const struct bt_trace *trace); #ifdef BT_DEV_MODE # define bt_trace_freeze _bt_trace_freeze @@ -100,7 +98,7 @@ BT_HIDDEN void bt_trace_add_stream(struct bt_trace *trace, struct bt_stream *stream); BT_HIDDEN -uint64_t bt_trace_get_automatic_stream_id(struct bt_trace *trace, - struct bt_stream_class *stream_class); +uint64_t bt_trace_get_automatic_stream_id(const struct bt_trace *trace, + const struct bt_stream_class *stream_class); #endif /* BABELTRACE_TRACE_IR_TRACE_INTERNAL_H */