ustfork: Fix warning about volatile qualifier
authorOlivier Dion <odion@efficios.com>
Tue, 15 Aug 2023 14:47:06 +0000 (10:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 Aug 2023 19:29:02 +0000 (15:29 -0400)
commit915252f188073ff13de36ffe83d652b76aa66a85
treebe7345440547ed66ecb3fa45f0ddfb94019fa792
parent9db5701d0cdda7faa6a1b6c725ba0921b1b11a30
ustfork: Fix warning about volatile qualifier

Clang is strict about the volatile qualifier on function pointers. It
also wants pointers to be passed to atomic builtins, even for
functions. Therefore, use the addresses of function pointers even if
unnecessary according to C standard.

Change-Id: I5d553a46671cc4bfbe8de5cec2425201459f60d2
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/lib/lttng-ust-fork/ustfork.c
This page took 0.024752 seconds and 4 git commands to generate.