mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibC: Use NULL instead of nullptr in serenity.h
nullptr is a c++ keyword that can not be used in LibC headers.
This commit is contained in:
parent
91b80da4b4
commit
2066491f6e
Notes:
sideshowbarker
2024-07-17 21:41:50 +09:00
Author: https://github.com/IdanHo
Commit: 2066491f6e
Pull-request: https://github.com/SerenityOS/serenity/pull/11613
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ static ALWAYS_INLINE int futex_wait(uint32_t* userspace_address, uint32_t value,
|
||||||
} else {
|
} else {
|
||||||
op = FUTEX_WAIT;
|
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)
|
static ALWAYS_INLINE int futex_wake(uint32_t* userspace_address, uint32_t count)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue