projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: fix -Wdeprecated-declarations warning about sprintf on macOS clang 14
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
consumer_testpoints.cpp
diff --git
a/tests/regression/tools/notification/consumer_testpoints.cpp
b/tests/regression/tools/notification/consumer_testpoints.cpp
index e390fd9721dd2645e0d2e3972a249fe184904e78..d7dc4c21e011401ee09322913d7cc4936517be5b 100644
(file)
--- a/
tests/regression/tools/notification/consumer_testpoints.cpp
+++ b/
tests/regression/tools/notification/consumer_testpoints.cpp
@@
-29,7
+29,7
@@
int lttng_opt_verbose;
int lttng_opt_mi;
int lttng_opt_quiet;
int lttng_opt_mi;
int lttng_opt_quiet;
-static void __attribute__((destructor)) pause_pipe_fini(
void
)
+static void __attribute__((destructor)) pause_pipe_fini()
{
int ret;
{
int ret;
@@
-67,9
+67,10
@@
int __testpoint_consumerd_thread_data(void)
* dynamically would not allow this shared object to be LD_PRELOAD-ed
* when launching the session daemon.
*/
* dynamically would not allow this shared object to be LD_PRELOAD-ed
* when launching the session daemon.
*/
- data_consumption_state = (int *) dlsym(
NULL
, "data_consumption_paused");
+ data_consumption_state = (int *) dlsym(
nullptr
, "data_consumption_paused");
LTTNG_ASSERT(data_consumption_state);
LTTNG_ASSERT(data_consumption_state);
- lttng_consumer_get_type = (lttng_consumer_type(*)()) dlsym(NULL, "lttng_consumer_get_type");
+ lttng_consumer_get_type =
+ (lttng_consumer_type(*)()) dlsym(nullptr, "lttng_consumer_get_type");
LTTNG_ASSERT(lttng_consumer_get_type);
switch (lttng_consumer_get_type()) {
LTTNG_ASSERT(lttng_consumer_get_type);
switch (lttng_consumer_get_type()) {
This page took
0.023474 seconds
and
4
git commands to generate.