mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
AK: Make kfree_sized() forward to kfree() in non-kernel code for now
This commit is contained in:
parent
d38b4e4665
commit
875afb35c3
Notes:
sideshowbarker
2024-07-18 09:20:24 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/875afb35c3f
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@
|
|||
# define kmalloc_good_size malloc_good_size
|
||||
# define kfree free
|
||||
# define krealloc realloc
|
||||
|
||||
inline void kfree_sized(void* ptr, size_t)
|
||||
{
|
||||
kfree(ptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef __serenity__
|
||||
|
|
Loading…
Add table
Reference in a new issue