X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fsnapshot.cpp;h=191f484c255b0d5a9669737b07e6fff8b3c535cb;hb=9a30ba1da4e6d59eb30c6535a9dd04cd599e6fae;hp=618196dd86f02b30f46f207cb95653bf8c3a86a7;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/common/snapshot.cpp b/src/common/snapshot.cpp index 618196dd8..191f484c2 100644 --- a/src/common/snapshot.cpp +++ b/src/common/snapshot.cpp @@ -77,6 +77,7 @@ end: return equal; } +namespace { /* * This is essentially the same as `struct lttng_snapshot_output`, but packed. */ @@ -87,6 +88,7 @@ struct lttng_snapshot_output_comm { char ctrl_url[PATH_MAX]; char data_url[PATH_MAX]; } LTTNG_PACKED; +} /* namespace */ int lttng_snapshot_output_serialize( const struct lttng_snapshot_output *output,