uatomic/generic: Fix redundant declaration warning
authorOlivier Dion <odion@efficios.com>
Mon, 14 Aug 2023 22:57:23 +0000 (18:57 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 Aug 2023 12:30:30 +0000 (08:30 -0400)
commit7e60fda72a3501c52b69bb042c0947817cbe1acc
tree02d85096540e82e91039910a735be3040eb268b2
parent59fdcc3a77acbfd1c4552b64882752b96b2a4a5c
uatomic/generic: Fix redundant declaration warning

abort(3) was explicitly declared external to avoid including
<stdlib.h>. However, this emit a redundant declaration warning if it was
already declared before including <urcu/uatomic.h>.

Fix this by including <stdlib.h> and not declaring abort().

Change-Id: If9557814c311e2b531e85fec8c41788462338fe4
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/uatomic/generic.h
This page took 0.024971 seconds and 4 git commands to generate.