commit 8ab8a4cad0dbde39baefd2e6753202110f651671 parent ba3366646ac558920be4c91ec7f0256cce4013f9 Author: sin <sin@2f30.org> Date: Wed, 4 Jun 2014 20:50:27 +0100 Staticise copy_splice() Diffstat:
M | dd.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dd.c b/dd.c @@ -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;