From: Jérémie Galarneau Date: Thu, 9 Apr 2015 18:35:29 +0000 (-0400) Subject: Cleanup: Remove unused trace environment types X-Git-Tag: v2.0.0-pre1~1276 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=a7c415355d7e6def65028b131c8cb2d5586cd2a0 Cleanup: Remove unused trace environment types Signed-off-by: Jérémie Galarneau --- diff --git a/include/babeltrace/ctf-ir/trace-internal.h b/include/babeltrace/ctf-ir/trace-internal.h index b32f7cab..03433a4b 100644 --- a/include/babeltrace/ctf-ir/trace-internal.h +++ b/include/babeltrace/ctf-ir/trace-internal.h @@ -60,15 +60,6 @@ struct bt_ctf_trace { uint64_t next_stream_id; }; -struct environment_variable { - GString *name; - enum bt_environment_field_type type; - union { - GString *string; - int64_t integer; - } value; -}; - struct metadata_context { GString *string; GString *field_name; diff --git a/include/babeltrace/ctf-ir/trace.h b/include/babeltrace/ctf-ir/trace.h index ba8a5fdf..95381034 100644 --- a/include/babeltrace/ctf-ir/trace.h +++ b/include/babeltrace/ctf-ir/trace.h @@ -43,12 +43,6 @@ struct bt_ctf_stream; struct bt_ctf_stream_class; struct bt_ctf_clock; -enum bt_environment_field_type { - BT_ENVIRONMENT_FIELD_TYPE_UNKNOWN = -1, - BT_ENVIRONMENT_FIELD_TYPE_STRING = 0, - BT_ENVIRONMENT_FIELD_TYPE_INTEGER = 1, -}; - /* * bt_ctf_trace_create: create a trace instance. *