From d27cbec598136ff8ff767ebbfb5d9d39e0b7c03e Mon Sep 17 00:00:00 2001 From: David Dykstra Date: Wed, 13 Feb 2002 18:30:27 +0000 Subject: [PATCH] Reversing the order of maybe_emit_filelist_progress() and emit_filelist_progress() makes the native compilers on systems including Solaris and Irix happier. --- flist.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flist.c b/flist.c index cdf0922a..151ae876 100644 --- a/flist.c +++ b/flist.c @@ -84,6 +84,12 @@ static void start_filelist_progress(char *kind) } +static void emit_filelist_progress(const struct file_list *flist) +{ + rprintf(FINFO, " %d files...\r", flist->count); +} + + static void maybe_emit_filelist_progress(const struct file_list *flist) { if (do_progress && show_filelist_p() && ((flist->count % 100) == 0)) @@ -91,12 +97,6 @@ static void maybe_emit_filelist_progress(const struct file_list *flist) } -static void emit_filelist_progress(const struct file_list *flist) -{ - rprintf(FINFO, " %d files...\r", flist->count); -} - - static void finish_filelist_progress(const struct file_list *flist) { if (do_progress) {