X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Fsorter%2Fsbuck.c;h=d996ef570c02ef4e2e854a8b87d7c5d4843969d1;hb=f1155256f7a168f5e2c0097cb4e7197b79c4f041;hp=7ec26785fbb82acd5cb40555fb1224a48c1536d5;hpb=031256ad2e123eec58521f8e3eb9496c197641d2;p=libucw.git diff --git a/ucw/sorter/sbuck.c b/ucw/sorter/sbuck.c index 7ec26785..d996ef57 100644 --- a/ucw/sorter/sbuck.c +++ b/ucw/sorter/sbuck.c @@ -7,16 +7,16 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/fastbuf.h" -#include "ucw/mempool.h" -#include "ucw/stkstring.h" -#include "ucw/sorter/common.h" +#include +#include +#include +#include +#include #include void * -sorter_alloc(struct sort_context *ctx, uns size) +sorter_alloc(struct sort_context *ctx, uint size) { return mp_alloc_zero(ctx->pool, size); } @@ -43,7 +43,7 @@ sbuck_drop(struct sort_bucket *b) } } -sh_off_t +ucw_off_t sbuck_size(struct sort_bucket *b) { if ((b->flags & SBF_OPEN_WRITE) && !(b->flags & SBF_SWAPPED_OUT))