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-08-12 20:40:59 +02:00
2020-08-02 17:15:11 +02:00
2020-08-06 17:45:06 +02:00
2020-08-12 20:40:59 +02:00
2020-08-10 20:05:18 +02:00
2020-08-10 09:57:50 +02:00
2020-05-14 20:15:18 +02:00
2020-08-10 12:52:15 +02:00
2020-07-06 17:07:44 +02:00
2020-08-12 20:40:59 +02:00
2020-07-06 10:00:24 +02:00
2020-06-21 00:58:55 +02:00
2020-08-10 11:51:45 +02:00
2020-08-02 21:10:35 +02:00
2020-07-01 12:07:01 +02:00
2020-08-10 20:05:18 +02:00
2020-05-16 12:00:04 +02:00
2020-04-18 14:22:42 +02:00
2020-04-18 14:22:42 +02:00
2020-08-04 18:17:16 +02:00
2020-08-04 18:17:16 +02:00
2020-08-04 18:17:16 +02:00
2020-08-04 18:17:16 +02:00
2020-08-02 17:15:11 +02:00
2020-08-10 20:05:18 +02:00
2020-05-16 12:00:04 +02:00
2020-08-11 20:29:14 +02:00
2020-07-05 12:26:27 +02:00
2020-02-16 01:27:42 +01:00
2020-08-12 20:40:59 +02:00
2020-08-09 00:13:39 +02:00
2020-08-09 21:12:54 +02:00
2020-08-12 20:40:59 +02:00
2020-04-08 17:19:46 +02:00
2020-08-10 20:05:18 +02:00
2020-07-06 17:07:44 +02:00
2020-04-30 11:43:25 +02:00
2020-05-14 20:15:18 +02:00
2020-02-16 01:27:42 +01:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-05-16 12:00:04 +02:00
2020-08-12 20:40:59 +02:00
2020-08-10 12:52:15 +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-07-04 17:22:23 +02:00
2020-07-06 10:00:24 +02:00
2020-08-11 21:37:10 +02:00
2020-08-12 20:40:59 +02:00
2020-08-11 14:54:36 +02:00
2020-08-03 15:59:11 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-07-30 23:43:37 +02:00
2020-08-01 08:39:26 +02:00
2020-08-01 08:39:26 +02:00
2020-08-10 12:52:15 +02:00
2020-08-12 20:40:59 +02:00
2020-08-11 14:54:36 +02:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-04-27 11:24:21 +02:00
2020-04-27 11:14:41 +02:00
2020-08-10 11:51:45 +02:00
2020-05-16 12:00:04 +02:00
2020-08-06 10:02:55 +02:00
2020-08-06 10:02:55 +02:00