From 2066491f6e791295b4b83b92c8a17c00935dd627 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sun, 2 Jan 2022 23:58:28 +0200 Subject: [PATCH] LibC: Use NULL instead of nullptr in serenity.h nullptr is a c++ keyword that can not be used in LibC headers. --- Userland/Libraries/LibC/serenity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibC/serenity.h b/Userland/Libraries/LibC/serenity.h index d411a80161..7771026a11 100644 --- a/Userland/Libraries/LibC/serenity.h +++ b/Userland/Libraries/LibC/serenity.h @@ -34,7 +34,7 @@ static ALWAYS_INLINE int futex_wait(uint32_t* userspace_address, uint32_t value, } else { op = FUTEX_WAIT; } - return futex(userspace_address, op, value, abstime, nullptr, FUTEX_BITSET_MATCH_ANY); + return futex(userspace_address, op, value, abstime, NULL, FUTEX_BITSET_MATCH_ANY); } static ALWAYS_INLINE int futex_wake(uint32_t* userspace_address, uint32_t count)