X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=images%2Fsig-init.c;h=60b53350548ee642554565df51f3521d475d33fa;hb=306801fc6da02fcbed53db6ff98cd0277b763d9a;hp=57eaa71b6b64f480b2d928408eac3ab91b45b90d;hpb=bf5edbdd5b56a0d2e239e96dd476c7a9a562506a;p=libucw.git diff --git a/images/sig-init.c b/images/sig-init.c index 57eaa71b..60b53350 100644 --- a/images/sig-init.c +++ b/images/sig-init.c @@ -9,10 +9,9 @@ #undef LOCAL_DEBUG -#include "sherlock/sherlock.h" +#include "lib/lib.h" #include "lib/fastbuf.h" #include "lib/conf.h" -#include "lib/math.h" #include "images/images.h" #include "images/math.h" #include "images/error.h" @@ -20,6 +19,7 @@ #include "images/signature.h" #include +#include int image_sig_init(struct image_context *ctx, struct image_sig_data *data, struct image *image) @@ -188,7 +188,7 @@ image_sig_finish(struct image_sig_data *data, struct image_signature *sig) sig->flags = data->flags; if (!sig->len) return; - + /* For each region */ u64 w_total = 0; uns w_border = MIN(data->cols, data->rows) * image_sig_border_size;