~lttng/urcu/trunk

Viewing all changes in revision 1467.

  • Committer: Mathieu Desnoyers
  • Author(s): Olivier Dion
  • Date: 2023-08-15 12:30:30 UTC
  • Revision ID: git-v1:7e60fda72a3501c52b69bb042c0947817cbe1acc
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: