From: Wayne Davison Date: Tue, 7 Sep 2004 21:26:26 +0000 (+0000) Subject: Made full_write() non-static. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/6566d205e282822a07b652eb2bdbbb86905d1877 Made full_write() non-static. --- diff --git a/util.c b/util.c index b78dba84..4f1b59ac 100644 --- a/util.c +++ b/util.c @@ -197,7 +197,7 @@ int create_directory_path(char *fname, int base_umask) * * Derived from GNU C's cccp.c. */ -static int full_write(int desc, char *ptr, size_t len) +int full_write(int desc, char *ptr, size_t len) { int total_written; @@ -245,7 +245,7 @@ static int safe_read(int desc, char *ptr, size_t len) /** Copy a file. * - * This is used in conjunction with the --temp-dir option */ + * This is used in conjunction with the --temp-dir and --backup options */ int copy_file(char *source, char *dest, mode_t mode) { int ifd;