diff --git a/src/reports.c b/src/reports.c index 42fea82..90a2f6b 100644 --- a/src/reports.c +++ b/src/reports.c @@ -1639,8 +1639,8 @@ generateHTMLFiles(struct configTag *ct, int arch) "Required by:"); auxheaderlist = ct->headerlist[arch]; while (auxheaderlist) { - if (auxheaderlist != currheaderlist) - found = 0; + found = 0; + if (auxheaderlist != currheaderlist) { for (i = 0; i < auxheaderlist->requirecount; i++) { if (auxheaderlist->require[i]->resolved) { for (j = 0; j < auxheaderlist->require[i]->resolved->numproviders; j++) { @@ -1660,7 +1660,8 @@ generateHTMLFiles(struct configTag *ct, int arch) } if (found) break; } - auxheaderlist = auxheaderlist->next; + } + auxheaderlist = auxheaderlist->next; } fprintf(fout, "\n"); @@ -1840,10 +1841,8 @@ print_datatables(struct configTag *ct, int arch) { currheaderlist = ct->headerlist[arch]; while (currheaderlist) { fprintf(fs,"%s: _%s\n", currheaderlist->name, currheaderlist->sourceheader->name); - if (!currheaderlist->obsoleted) { - fprintf(fd,"%s ", currheaderlist->name); - fprintf(fb,"%s ",currheaderlist->name); - } + fprintf(fd,"%s ", currheaderlist->name); + fprintf(fb,"%s ",currheaderlist->name); currheaderlist = currheaderlist->next; } fprintf(fd,"\n");