Staticise copy_splice()

This commit is contained in:
sin 2014-06-04 20:50:27 +01:00
parent ba3366646a
commit 8ab8a4cad0

3
dd.c
View File

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