X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=24b1f1d9f04bea22eb79c77ebebc2b836bbcebca;hb=40dc48e0d6106d0ba7b96ef780c754b00ce82fd5;hp=16b9eb64f88ae006a742ade5d3d05b162d5bb0ef;hpb=6be3d49af943f4dda1d6bb2257b98817b05f417a;p=lttng-tools.git diff --git a/src/common/consumer.c b/src/common/consumer.c index 16b9eb64f..24b1f1d9f 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -56,15 +56,12 @@ struct lttng_consumer_global_data consumer_data = { volatile int consumer_quit; /* - * The following two hash tables are visible by all threads which are separated - * in different source files. - * * Global hash table containing respectively metadata and data streams. The * stream element in this ht should only be updated by the metadata poll thread * for the metadata and the data poll thread for the data. */ -struct lttng_ht *metadata_ht; -struct lttng_ht *data_ht; +static struct lttng_ht *metadata_ht; +static struct lttng_ht *data_ht; /* * Notify a thread pipe to poll back again. This usually means that some global