summaryrefslogtreecommitdiff
path: root/kern/bitmap.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-02-04 17:45:17 +0100
committerRichard Braun <rbraun@sceen.net>2017-02-04 17:45:17 +0100
commitfd035c0a3d361e513fe7916b67e14ff702983153 (patch)
tree81d24cf88a68144bfd6113a8e148a0dd9528affe /kern/bitmap.h
parentd479903845975a480be4201aa892e4434c4f6c54 (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 'kern/bitmap.h')
-rw-r--r--kern/bitmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/bitmap.h b/kern/bitmap.h
index 6489b486..77dfac1b 100644
--- a/kern/bitmap.h
+++ b/kern/bitmap.h
@@ -24,9 +24,10 @@
#ifndef _KERN_BITMAP_H
#define _KERN_BITMAP_H
+#include <string.h>
+
#include <kern/bitmap_i.h>
#include <kern/limits.h>
-#include <kern/string.h>
#include <machine/atomic.h>
#define BITMAP_DECLARE(name, nr_bits) unsigned long name[BITMAP_LONGS(nr_bits)]