mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 12:54:15 -04:00
Made full_write() non-static.
This commit is contained in:
1 parent
e484f0cc04
commit
6566d205e2
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user