diff --git a/src/ChangeLog b/src/ChangeLog index 984b2a239..4a920276b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-10-16 Roland Illig + + * file.c (do_file_error): Add const qualifier. (query_recursive): + Likewise. (query_replace): Likewise. + 2004-10-13 Jindrich Novy * util.c (strip_password): Add "/#sh:". diff --git a/src/file.c b/src/file.c index d9ddf92d9..cf59957e1 100644 --- a/src/file.c +++ b/src/file.c @@ -2259,19 +2259,19 @@ query_replace (FileOpContext *ctx, const char *destname, struct stat *_s_stat, #else static int -do_file_error (char *str) +do_file_error (const char *str) { return real_do_file_error (Foreground, str); } static int -query_recursive (FileOpContext *ctx, char *s) +query_recursive (FileOpContext *ctx, const char *s) { return real_query_recursive (ctx, Foreground, s); } static int -query_replace (FileOpContext *ctx, char *destname, struct stat *_s_stat, +query_replace (FileOpContext *ctx, const char *destname, struct stat *_s_stat, struct stat *_d_stat) { return file_progress_real_query_replace (ctx, Foreground, destname,