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:28:33 +0000 (15:28 -0400)
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>

No differences found
This page took 0.024901 seconds and 4 git commands to generate.