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 /kern/evcnt.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 'kern/evcnt.c')
-rw-r--r-- | kern/evcnt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/evcnt.c b/kern/evcnt.c index 803516d0..e993edd9 100644 --- a/kern/evcnt.c +++ b/kern/evcnt.c @@ -15,12 +15,13 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <string.h> + #include <kern/evcnt.h> #include <kern/init.h> #include <kern/list.h> #include <kern/mutex.h> #include <kern/printk.h> -#include <kern/string.h> /* * Global list of all registered counters. |