]> git.lttng.org Git - lttng-tools.git/commit
session-config: Correct `config_xml_encoding_bytes_per_char`'s exported type
authorKienan Stewart <kstewart@efficios.com>
Mon, 16 Dec 2024 14:36:46 +0000 (09:36 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jan 2025 19:21:02 +0000 (19:21 +0000)
commit2282b413af6323cade15c70115192d40acbcd6e0
tree7a4192925267e090c1d7f8adddecc196c6107afa
parent0bda1cc5712e9ccf87ebf89d18ea48672855d280
session-config: Correct `config_xml_encoding_bytes_per_char`'s exported type

The ABI diff reports the following variable type change:

```
1 Changed variable:

  [C] 'const size_t config_xml_encoding_bytes_per_char' was changed to 'std::size_t config_xml_encoding_bytes_per_char' at session
-config.cpp:55:1:
    type of variable changed:
      entity changed from 'const size_t' to 'typedef std::size_t' at c++config.h:310:1
      type size hasn't changed
```

This patch also takes the opportunity to ensure that the "C" linkage
is used for the exported variables.

Change-Id: Id9739d290d1872bc803d2925ffa1d40b04c3e553
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/session-config.cpp
This page took 0.029243 seconds and 4 git commands to generate.