diff options
author | Richard Braun <rbraun@sceen.net> | 2017-02-04 17:45:17 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-02-04 17:45:17 +0100 |
commit | fd035c0a3d361e513fe7916b67e14ff702983153 (patch) | |
tree | 81d24cf88a68144bfd6113a8e148a0dd9528affe /test/test_llsync_defer.c | |
parent | d479903845975a480be4201aa892e4434c4f6c54 (diff) |
Clean up compilation
Instead of mixing standard headers and internal redefinitions of standard
types, completely rely on the compiler for what is guaranteed for a free
standing environment. This results in the removal of kern/stddef.h and
kern/stdint.h. The kern/types.h header is reintroduced for the different
(and saner) purpose of defining types not specified in standard C,
namely ssize_t for now.
Diffstat (limited to 'test/test_llsync_defer.c')
-rw-r--r-- | test/test_llsync_defer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_llsync_defer.c b/test/test_llsync_defer.c index e4cca214..954ea390 100644 --- a/test/test_llsync_defer.c +++ b/test/test_llsync_defer.c @@ -28,6 +28,9 @@ * Each thread regularly prints a string to report that it's making progress. */ +#include <stddef.h> +#include <string.h> + #include <kern/condition.h> #include <kern/error.h> #include <kern/kmem.h> @@ -37,8 +40,6 @@ #include <kern/panic.h> #include <kern/param.h> #include <kern/printk.h> -#include <kern/stddef.h> -#include <kern/string.h> #include <kern/thread.h> #include <kern/work.h> #include <test/test.h> |