| # | Line 56 | Line 56 | prog_show(double frac) | |
|---|---|---|
| 56 | } | |
| 57 | ||
| 58 | /* Finish progress bar */ | |
| 59 | < | #define prog_done() if (do_prog) fputc('\n',stderr); else |
| 59 | > | static void |
| 60 | > | prog_done(void) |
| 61 | > | { |
| 62 | > | int n = do_prog; |
| 63 | > | |
| 64 | > | if (n <= 1) return; |
| 65 | > | fputc('\r', stderr); |
| 66 | > | while (n--) |
| 67 | > | fputc(' ', stderr); |
| 68 | > | fputc('\r', stderr); |
| 69 | > | } |
| 70 | ||
| 71 | /* Output XML prologue to stdout */ | |
| 72 | static void | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |