Staticise copy_splice()

This commit is contained in:
sin 2014-06-04 20:50:27 +01:00
parent ba3366646a
commit 8ab8a4cad0
1 changed files with 2 additions and 1 deletions

3
dd.c
View File

@ -132,7 +132,8 @@ prepare_copy(struct dd_config *ddc, int *ifd, int *ofd)
return 0; return 0;
} }
int copy_splice(struct dd_config *ddc) static int
copy_splice(struct dd_config *ddc)
{ {
int ifd, ofd, p[2] = {-1, -1}; int ifd, ofd, p[2] = {-1, -1};
ssize_t r = 0; ssize_t r = 0;