diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-11 04:23:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-11 04:23:46 +0000 |
commit | eb07a88b9ea0e79702def2e0f628bb066da22c2f (patch) | |
tree | 1708f3870e21b6b3dac55817ab78e3731396173d | |
parent | 0503b2807605cc1cef5b5b8bace7b4c03178a7e4 (diff) | |
download | coreutils-eb07a88b9ea0e79702def2e0f628bb066da22c2f.tar.xz |
.
-rw-r--r-- | src/copy.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/copy.c b/src/copy.c index 735e9bd22..b984df4a8 100644 --- a/src/copy.c +++ b/src/copy.c @@ -6,6 +6,7 @@ #include <stdio.h> #include "cp.h" +#include "copy.h" #include "backupfile.h" /* On Linux (from slackware-1.2.13 to 2.0.2?) there is no lchown function. @@ -97,10 +98,6 @@ struct flag int (*xstat) (); }; -static int copy __P ((const char *src_path, const char *dst_path, - int new_dst, dev_t device, - struct dir_list *ancestors, struct flag *x)); - int full_write (); int euidaccess (); @@ -352,7 +349,7 @@ ret2: devices and inodes of parent directories of SRC_PATH. Return 0 if successful, 1 if an error occurs. */ -static int +int copy (const char *src_path, const char *dst_path, int new_dst, dev_t device, struct dir_list *ancestors, struct flag *x) { |