[hackers] [ubase] Staticise copy_splice() || sin

From: <git_AT_suckless.org>
Date: Wed, 04 Jun 2014 21:50:49 +0200

commit 8ab8a4cad0dbde39baefd2e6753202110f651671
Author: sin <sin_AT_2f30.org>
Date: Wed Jun 4 20:50:27 2014 +0100

    Staticise copy_splice()

diff --git a/dd.c b/dd.c
index c6f3258..5dc56c9 100644
--- a/dd.c
+++ b/dd.c
_AT_@ -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;
Received on Wed Jun 04 2014 - 21:50:49 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 04 2014 - 22:00:10 CEST