haiku/headers
Michael Lotz 9a2911ca8c virtio: Rework queue_dequeue to return a boolean.
It previously returned the cookie directly, which made it impossible
to distinguish between a NULL cookie and the function not having
anything to dequeue. This lead to some code setting a cookie that was
not actually used.

Return the dequeue status as a boolean and provide the cookie with an
optionally handed in pointer instead and adjust all users.

Change-Id: Iaac1726ac4bc7ae42bb96b8f0915852b6def5822
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1814
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-09-02 14:30:29 +00:00
..
build s/Haiku License/MIT License/g. 2019-08-30 18:16:02 -04:00
compatibility s/Haiku License/MIT License/g. 2019-08-30 18:16:02 -04:00
config ARM64: Initial changes so we can compile GCC toolchain 2019-08-30 19:05:16 +00:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs PVS V501: comparing number with itself 2019-07-28 10:16:43 +00:00
os arm64: Add more headers for code compilation 2019-09-01 03:02:49 +00:00
posix arm64: Update license in headers 2019-09-01 03:02:49 +00:00
private virtio: Rework queue_dequeue to return a boolean. 2019-09-02 14:30:29 +00:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00