Files
ladybird/Kernel
Ben Wiederhake 2b76f48a17 Kernel: Avoid linking errors when calling Kernel API
The compiler can't see that the definitions inside the .h file aren't meant to be
public symbols. So in a hypothetical program which uses the Kernel API, each(\!)
compilation unit that includes FB.h would define those fb_get_size_in_bytes symbols.
If that happens twice or more times, that would cause linker errors.

Since the functions are very short, inlining them seems like a good idea.

Also, using FB.h should be possible even if the containing compilation unit
doesn't already define size_t, so I added that header (stddef), too.
2020-08-12 20:40:59 +02:00
..
2020-07-06 17:07:44 +02:00
2020-05-14 20:15:18 +02:00
2020-07-06 17:07:44 +02:00
2020-08-10 11:51:45 +02:00
2020-07-06 17:07:44 +02:00
2020-05-14 20:15:18 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-01 08:39:26 +02:00
2020-08-01 08:39:26 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00