summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/vpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libaxolotl/src/vpool.h')
-rw-r--r--libs/libaxolotl/src/vpool.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/libaxolotl/src/vpool.h b/libs/libaxolotl/src/vpool.h
index 04707cb9ae..9a54e42825 100644
--- a/libs/libaxolotl/src/vpool.h
+++ b/libs/libaxolotl/src/vpool.h
@@ -21,18 +21,6 @@
#define _VPOOL_H_
#include <sys/types.h>
-#if !defined(_WINDOWS) && !defined(__sun__)
-#include <sys/cdefs.h>
-#else
-#ifdef __cplusplus
-#define __BEGIN_DECLS extern "C" {
-#define __END_DECLS }
-#else
-#define __BEGIN_DECLS
-#define __END_DECLS
-#endif /* __cplusplus */
-#endif /* _WINDOWS */
-
#include <limits.h>
struct vpool {
@@ -49,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);
@@ -71,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_ */