]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/partmap.c
tableprinter: table_clean_row renamed to table_reset_row
[libucw.git] / ucw / partmap.c
index fd9d91249ea8e715942b1e070ada30a141ecd8d3..9108353a0e972c04607e033f2395cd20b50ab95b 100644 (file)
@@ -8,9 +8,9 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/io.h"
-#include "ucw/partmap.h"
+#include <ucw/lib.h>
+#include <ucw/io.h>
+#include <ucw/partmap.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -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<l; i++)
     putchar(*(char *)partmap_map(p, i, 1));
   partmap_close(p);