Commit 01ed65e9 authored by Daniel Salzman's avatar Daniel Salzman

vpool: fix compilation with muscl libc

parent 42530149
......@@ -20,9 +20,7 @@
#ifndef _VPOOL_H_
#define _VPOOL_H_
#include <sys/types.h>
#include <sys/cdefs.h>
#include <stddef.h>
#include <limits.h>
struct vpool {
......@@ -39,8 +37,6 @@ struct vpool {
enum vpool_trunc {VPOOL_EXCLUDE, VPOOL_INCLUDE};
#define VPOOL_TAIL UINT_MAX
__BEGIN_DECLS
void vpool_init(struct vpool *pool, size_t blksize, size_t limit);
void vpool_final(struct vpool *pool);
......@@ -61,6 +57,4 @@ int vpool_truncate(struct vpool *pool,
void vpool_export(struct vpool *pool, void **buf, size_t *size);
__END_DECLS
#endif /* !_VPOOL_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment