summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/vpool.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-04-24 12:01:36 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-04-24 12:01:36 +0300
commit0b1150d20f49eb0ec82b57ab3fac727f346c0da0 (patch)
tree387c1d63df86419dd92f2c6adef701567c6bf91f /libs/libaxolotl/src/vpool.h
parent0998b447f51c40d2300db7f673e080de20e8f0be (diff)
libs:
updated libsignal-c protocols: jabber: omemo: used 31bit device id instead of 32bit (32bit conflicts with conversations, not xep compliant)
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_ */