summaryrefslogtreecommitdiff
path: root/src/libdatastruct
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-13 22:43:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-13 22:43:45 +0000
commit33dfbbeaec4a49e110f51f5d088015f1a8fb9075 (patch)
tree7f2e2359d05b63b1b0b59b61ae3fc154050fc486 /src/libdatastruct
parente450f6efc39e55e32264d2daded6c757af0f7527 (diff)
downloadskalibs-33dfbbeaec4a49e110f51f5d088015f1a8fb9075.tar.xz
More superflous headers cleanup and tiny fixes
Diffstat (limited to 'src/libdatastruct')
-rw-r--r--src/libdatastruct/avlnode_delete.c2
-rw-r--r--src/libdatastruct/avlnode_doublerotate.c1
-rw-r--r--src/libdatastruct/avlnode_extreme.c1
-rw-r--r--src/libdatastruct/avlnode_extremenode.c1
-rw-r--r--src/libdatastruct/avlnode_height.c1
-rw-r--r--src/libdatastruct/avlnode_insertnode.c2
-rw-r--r--src/libdatastruct/avlnode_iter_withcancel.c1
-rw-r--r--src/libdatastruct/avlnode_rotate.c1
-rw-r--r--src/libdatastruct/avlnode_search.c2
-rw-r--r--src/libdatastruct/avlnode_searchnode.c2
-rw-r--r--src/libdatastruct/avltree_init.c1
-rw-r--r--src/libdatastruct/avltree_insert.c1
-rw-r--r--src/libdatastruct/avltree_newnode.c1
-rw-r--r--src/libdatastruct/avltreen_init.c2
-rw-r--r--src/libdatastruct/avltreen_insert.c1
-rw-r--r--src/libdatastruct/avltreen_newnode.c1
-rw-r--r--src/libdatastruct/genset.c1
-rw-r--r--src/libdatastruct/genset_iter_nocancel.c2
-rw-r--r--src/libdatastruct/genset_iter_withcancel.c1
-rw-r--r--src/libdatastruct/gensetdyn_delete.c1
-rw-r--r--src/libdatastruct/gensetdyn_init.c1
-rw-r--r--src/libdatastruct/gensetdyn_iter.c2
-rw-r--r--src/libdatastruct/gensetdyn_iter_withcancel.c1
-rw-r--r--src/libdatastruct/gensetdyn_new.c1
-rw-r--r--src/libdatastruct/gensetdyn_ready.c1
25 files changed, 0 insertions, 32 deletions
diff --git a/src/libdatastruct/avlnode_delete.c b/src/libdatastruct/avlnode_delete.c
index fa9e0b6..8e57bf8 100644
--- a/src/libdatastruct/avlnode_delete.c
+++ b/src/libdatastruct/avlnode_delete.c
@@ -1,7 +1,5 @@
/* ISC license. */
-#include <stdint.h>
-#include <skalibs/functypes.h>
#include <skalibs/avlnode.h>
#include "avlnode-internal.h"
diff --git a/src/libdatastruct/avlnode_doublerotate.c b/src/libdatastruct/avlnode_doublerotate.c
index cadbf12..df1d5c1 100644
--- a/src/libdatastruct/avlnode_doublerotate.c
+++ b/src/libdatastruct/avlnode_doublerotate.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/avlnode.h>
#include "avlnode-internal.h"
diff --git a/src/libdatastruct/avlnode_extreme.c b/src/libdatastruct/avlnode_extreme.c
index cfdf98c..ab08d36 100644
--- a/src/libdatastruct/avlnode_extreme.c
+++ b/src/libdatastruct/avlnode_extreme.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
#include <skalibs/avlnode.h>
diff --git a/src/libdatastruct/avlnode_extremenode.c b/src/libdatastruct/avlnode_extremenode.c
index 2efb491..2830df5 100644
--- a/src/libdatastruct/avlnode_extremenode.c
+++ b/src/libdatastruct/avlnode_extremenode.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/avlnode.h>
uint32_t avlnode_extremenode (avlnode const *s, uint32_t max, uint32_t r, int h)
diff --git a/src/libdatastruct/avlnode_height.c b/src/libdatastruct/avlnode_height.c
index 50c5670..bb7249f 100644
--- a/src/libdatastruct/avlnode_height.c
+++ b/src/libdatastruct/avlnode_height.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/avlnode.h>
unsigned int avlnode_height (avlnode const *s, uint32_t max, uint32_t r)
diff --git a/src/libdatastruct/avlnode_insertnode.c b/src/libdatastruct/avlnode_insertnode.c
index e7e68b8..fa94811 100644
--- a/src/libdatastruct/avlnode_insertnode.c
+++ b/src/libdatastruct/avlnode_insertnode.c
@@ -1,7 +1,5 @@
/* ISC license. */
-#include <stdint.h>
-#include <skalibs/functypes.h>
#include <skalibs/avlnode.h>
#include "avlnode-internal.h"
diff --git a/src/libdatastruct/avlnode_iter_withcancel.c b/src/libdatastruct/avlnode_iter_withcancel.c
index d92e767..c029799 100644
--- a/src/libdatastruct/avlnode_iter_withcancel.c
+++ b/src/libdatastruct/avlnode_iter_withcancel.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
#include <skalibs/avlnode.h>
diff --git a/src/libdatastruct/avlnode_rotate.c b/src/libdatastruct/avlnode_rotate.c
index 6f45477..78dc2f9 100644
--- a/src/libdatastruct/avlnode_rotate.c
+++ b/src/libdatastruct/avlnode_rotate.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/avlnode.h>
#include "avlnode-internal.h"
diff --git a/src/libdatastruct/avlnode_search.c b/src/libdatastruct/avlnode_search.c
index 85073ca..dca53ee 100644
--- a/src/libdatastruct/avlnode_search.c
+++ b/src/libdatastruct/avlnode_search.c
@@ -1,8 +1,6 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
-#include <skalibs/functypes.h>
#include <skalibs/avlnode.h>
int avlnode_search (avlnode const *s, uint32_t max, uint32_t r, void const *k, uint32_t *data, dtokfunc_t_ref dtok, cmpfunc_t_ref f, void *p)
diff --git a/src/libdatastruct/avlnode_searchnode.c b/src/libdatastruct/avlnode_searchnode.c
index 40463c7..f655561 100644
--- a/src/libdatastruct/avlnode_searchnode.c
+++ b/src/libdatastruct/avlnode_searchnode.c
@@ -1,7 +1,5 @@
/* ISC license. */
-#include <stdint.h>
-#include <skalibs/functypes.h>
#include <skalibs/avlnode.h>
#include "avlnode-internal.h"
diff --git a/src/libdatastruct/avltree_init.c b/src/libdatastruct/avltree_init.c
index 9a92d08..fd14a3a 100644
--- a/src/libdatastruct/avltree_init.c
+++ b/src/libdatastruct/avltree_init.c
@@ -2,7 +2,6 @@
#include <stdint.h>
#include <errno.h>
-#include <skalibs/functypes.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/avlnode.h>
#include <skalibs/avltree.h>
diff --git a/src/libdatastruct/avltree_insert.c b/src/libdatastruct/avltree_insert.c
index d06da2b..b3160b5 100644
--- a/src/libdatastruct/avltree_insert.c
+++ b/src/libdatastruct/avltree_insert.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/avltree.h>
int avltree_insert (avltree *t, uint32_t d)
diff --git a/src/libdatastruct/avltree_newnode.c b/src/libdatastruct/avltree_newnode.c
index 07cb813..3d658c6 100644
--- a/src/libdatastruct/avltree_newnode.c
+++ b/src/libdatastruct/avltree_newnode.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/avlnode.h>
diff --git a/src/libdatastruct/avltreen_init.c b/src/libdatastruct/avltreen_init.c
index d831610..3ac4482 100644
--- a/src/libdatastruct/avltreen_init.c
+++ b/src/libdatastruct/avltreen_init.c
@@ -1,7 +1,5 @@
/* ISC license. */
-#include <stdint.h>
-#include <skalibs/functypes.h>
#include <skalibs/genset.h>
#include <skalibs/avlnode.h>
#include <skalibs/avltreen.h>
diff --git a/src/libdatastruct/avltreen_insert.c b/src/libdatastruct/avltreen_insert.c
index 5329340..f2b8584 100644
--- a/src/libdatastruct/avltreen_insert.c
+++ b/src/libdatastruct/avltreen_insert.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/avltreen.h>
int avltreen_insert (avltreen *t, uint32_t d)
diff --git a/src/libdatastruct/avltreen_newnode.c b/src/libdatastruct/avltreen_newnode.c
index 36b1ab6..bbfb639 100644
--- a/src/libdatastruct/avltreen_newnode.c
+++ b/src/libdatastruct/avltreen_newnode.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/genset.h>
#include <skalibs/avlnode.h>
#include <skalibs/avltreen.h>
diff --git a/src/libdatastruct/genset.c b/src/libdatastruct/genset.c
index a4e48e0..84390fc 100644
--- a/src/libdatastruct/genset.c
+++ b/src/libdatastruct/genset.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
#include <skalibs/genset.h>
diff --git a/src/libdatastruct/genset_iter_nocancel.c b/src/libdatastruct/genset_iter_nocancel.c
index 9f8ab28..a7248a9 100644
--- a/src/libdatastruct/genset_iter_nocancel.c
+++ b/src/libdatastruct/genset_iter_nocancel.c
@@ -1,8 +1,6 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/bitarray.h>
-#include <skalibs/functypes.h>
#include <skalibs/genset.h>
uint32_t genset_iter_nocancel (genset *g, uint32_t n, iterfunc_t_ref f, void *stuff)
diff --git a/src/libdatastruct/genset_iter_withcancel.c b/src/libdatastruct/genset_iter_withcancel.c
index a8f9c86..1583cb4 100644
--- a/src/libdatastruct/genset_iter_withcancel.c
+++ b/src/libdatastruct/genset_iter_withcancel.c
@@ -2,7 +2,6 @@
#include <stdint.h>
#include <errno.h>
-#include <skalibs/functypes.h>
#include <skalibs/genset.h>
int genset_iter_withcancel (genset *g, iterfunc_t_ref f, iterfunc_t_ref cancelf, void *stuff)
diff --git a/src/libdatastruct/gensetdyn_delete.c b/src/libdatastruct/gensetdyn_delete.c
index 019760c..5dcd0d9 100644
--- a/src/libdatastruct/gensetdyn_delete.c
+++ b/src/libdatastruct/gensetdyn_delete.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <errno.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
diff --git a/src/libdatastruct/gensetdyn_init.c b/src/libdatastruct/gensetdyn_init.c
index a9eaa70..744c63f 100644
--- a/src/libdatastruct/gensetdyn_init.c
+++ b/src/libdatastruct/gensetdyn_init.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
diff --git a/src/libdatastruct/gensetdyn_iter.c b/src/libdatastruct/gensetdyn_iter.c
index c5bbcef..7943ab0 100644
--- a/src/libdatastruct/gensetdyn_iter.c
+++ b/src/libdatastruct/gensetdyn_iter.c
@@ -1,9 +1,7 @@
/* ISC license. */
#include <sys/types.h>
-#include <stdint.h>
#include <skalibs/bitarray.h>
-#include <skalibs/functypes.h>
#include <skalibs/gensetdyn.h>
uint32_t gensetdyn_iter_nocancel (gensetdyn *g, uint32_t n, iterfunc_t_ref f, void *stuff)
diff --git a/src/libdatastruct/gensetdyn_iter_withcancel.c b/src/libdatastruct/gensetdyn_iter_withcancel.c
index 07f0c52..0c5c35d 100644
--- a/src/libdatastruct/gensetdyn_iter_withcancel.c
+++ b/src/libdatastruct/gensetdyn_iter_withcancel.c
@@ -2,7 +2,6 @@
#include <stdint.h>
#include <errno.h>
-#include <skalibs/functypes.h>
#include <skalibs/gensetdyn.h>
int gensetdyn_iter_withcancel (gensetdyn *g, iterfunc_t_ref f, iterfunc_t_ref cancelf, void *stuff)
diff --git a/src/libdatastruct/gensetdyn_new.c b/src/libdatastruct/gensetdyn_new.c
index bf744d5..66d3550 100644
--- a/src/libdatastruct/gensetdyn_new.c
+++ b/src/libdatastruct/gensetdyn_new.c
@@ -1,7 +1,6 @@
/* ISC license. */
#include <sys/types.h>
-#include <stdint.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
diff --git a/src/libdatastruct/gensetdyn_ready.c b/src/libdatastruct/gensetdyn_ready.c
index 0bdcd0b..d8e7257 100644
--- a/src/libdatastruct/gensetdyn_ready.c
+++ b/src/libdatastruct/gensetdyn_ready.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <stdint.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>