voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

commit b34af5b689d30ab5fdc019310a5203cf444eb1c7
parent 39a02b1477f15266bddbcf725f0eed50e518134a
Author: oblique <psyberbits@gmail.com>
Date:   Wed, 24 Jul 2013 03:22:48 +0300

Include inttypes.h in pool.h, kfifo.h and hash.h

Diffstat:
Minclude/hash.h | 2++
Minclude/kfifo.h | 2++
Minclude/pool.h | 2++
3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/hash.h b/include/hash.h @@ -1,6 +1,8 @@ #ifndef __HASH_H #define __HASH_H +#include <inttypes.h> + struct hent_ops { unsigned long (*hash)(void *data, size_t siz); int (*cmp)(void *src, void *dst, size_t siz); diff --git a/include/kfifo.h b/include/kfifo.h @@ -1,6 +1,8 @@ #ifndef __KFIFO_H #define __KFIFO_H +#include <inttypes.h> + struct kfifo *init_kfifo(size_t cap); void free_kfifo(struct kfifo *kfifo); int enqueue_kfifo(struct kfifo *kfifo, void *data, size_t siz); diff --git a/include/pool.h b/include/pool.h @@ -1,6 +1,8 @@ #ifndef __POOL_H #define __POOL_H +#include <inttypes.h> + typedef int item_id; struct pool *init_pool(void);