X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.cpp;fp=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.cpp;h=5db0c5664888193d1b943558faf2ae4d3556a4aa;hp=b25d2d10a3aced9b771a8094bac5e12cf3bee335;hb=f149493493fbd8a3efa4748832c03278c96c38ca;hpb=2d7da3031c65c4569ff2428a7c2cad30007f3b50 diff --git a/src/bin/lttng/commands/add_context.cpp b/src/bin/lttng/commands/add_context.cpp index b25d2d10a..5db0c5664 100644 --- a/src/bin/lttng/commands/add_context.cpp +++ b/src/bin/lttng/commands/add_context.cpp @@ -217,7 +217,7 @@ static struct poptOption long_options[] = { _PERF_HW_CACHE(optstr "-prefetch-misses", name, type, \ PREFETCH, MISS, hide) -static +namespace { const struct ctx_opts { /* Needed for end-of-list item. */ ctx_opts() @@ -552,8 +552,7 @@ struct ctx_type_list { } ctx_type_list = { .head = CDS_LIST_HEAD_INIT(ctx_type_list.head), }; - - +} /* namespace */ /* * Find context numerical value from string.