diff options
author | Daniel Mack <github@zonque.org> | 2015-09-10 19:01:25 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-10 19:01:25 +0200 |
commit | 786c5bf957f8f7b78c7a0999908ff822e712b53e (patch) | |
tree | d330ac099c5d75669ab5d8d21e880bc29521add8 /src/basic/copy.h | |
parent | 15af581253a3f25a71d4fa723bf1fdd22f842728 (diff) | |
parent | e11d45682ed0ccdbdfe71a958718c836114a4610 (diff) |
Merge pull request #1242 from poettering/no-off_t
Drop usage of off_t
Diffstat (limited to 'src/basic/copy.h')
-rw-r--r-- | src/basic/copy.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/copy.h b/src/basic/copy.h index 8de0cfba32..ba0890b442 100644 --- a/src/basic/copy.h +++ b/src/basic/copy.h @@ -21,6 +21,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <inttypes.h> #include <stdbool.h> #include <sys/types.h> @@ -30,6 +31,6 @@ int copy_file_atomic(const char *from, const char *to, mode_t mode, bool replace int copy_tree(const char *from, const char *to, bool merge); int copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge); int copy_directory_fd(int dirfd, const char *to, bool merge); -int copy_bytes(int fdf, int fdt, off_t max_bytes, bool try_reflink); +int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink); int copy_times(int fdf, int fdt); int copy_xattr(int fdf, int fdt); |