From 6566d205e282822a07b652eb2bdbbb86905d1877 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 7 Sep 2004 21:26:26 +0000 Subject: [PATCH] Made full_write() non-static. --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1