X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fconf-dump.c;h=cb80db70ca05cd54547f8518bc7d9f7e3f024ab3;hb=db2e817025638b9738e5ff8f8f5ccc1fbf68a2f3;hp=b3c737005eb82b26cc069c2e215ccc58869f5c26;hpb=b2e520371195bba5827fa19c824a5e2636a9e211;p=libucw.git diff --git a/ucw/conf-dump.c b/ucw/conf-dump.c index b3c73700..cb80db70 100644 --- a/ucw/conf-dump.c +++ b/ucw/conf-dump.c @@ -16,9 +16,9 @@ #include static void -spaces(struct fastbuf *fb, uns nr) +spaces(struct fastbuf *fb, uint nr) { - for (uns i=0; iptr; enum cf_type type = item->type; - uns size = cf_type_size(item->type, item->u.utype); + uint size = cf_type_size(item->type, item->u.utype); int i; spaces(fb, level); bprintf(fb, "%s: C%s #", item->name, class_names[item->cls]); @@ -97,7 +97,7 @@ dump_item(struct fastbuf *fb, struct cf_item *item, int level, void *ptr) if (item->cls == CC_SECTION) dump_section(fb, item->u.sec, level+1, ptr); else if (item->cls == CC_LIST) { - uns idx = 0; + uint idx = 0; CLIST_FOR_EACH(cnode *, n, * (clist*) ptr) { spaces(fb, level+1); bprintf(fb, "item %d\n", ++idx);