X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fpartmap.c;h=9108353a0e972c04607e033f2395cd20b50ab95b;hb=5034fae83a7c3560d75ef5c746dcb535d3d97766;hp=fd9d91249ea8e715942b1e070ada30a141ecd8d3;hpb=315d65b74168b23e820b9dde6166ec19bd048228;p=libucw.git diff --git a/ucw/partmap.c b/ucw/partmap.c index fd9d9124..9108353a 100644 --- a/ucw/partmap.c +++ b/ucw/partmap.c @@ -8,9 +8,9 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/io.h" -#include "ucw/partmap.h" +#include +#include +#include #include #include @@ -62,7 +62,7 @@ partmap_close(struct partmap *p) } void -partmap_load(struct partmap *p, ucw_off_t start, uns size) +partmap_load(struct partmap *p, ucw_off_t start, uint size) { if (p->start_map) munmap(p->start_map, p->end_off - p->start_off); @@ -90,8 +90,8 @@ partmap_load(struct partmap *p, ucw_off_t start, uns size) int main(int argc, char **argv) { struct partmap *p = partmap_open(argv[1], 0); - uns l = partmap_size(p); - uns i; + uint l = partmap_size(p); + uint i; for (i=0; i