aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-07-20 16:57:18 +0000
committerWayne Davison <wayned@samba.org>2004-07-20 16:57:18 +0000
commitcf338ab1be08818ce8f79af1c5501e13e4d199fb (patch)
tree7fe16caefda7a9dbf2cfceaabf924609785573c3 /io.c
parent66a9dc9639db9b86dd7218beda5ba1637651462d (diff)
downloadandroid_external_rsync-cf338ab1be08818ce8f79af1c5501e13e4d199fb.tar.gz
android_external_rsync-cf338ab1be08818ce8f79af1c5501e13e4d199fb.tar.bz2
android_external_rsync-cf338ab1be08818ce8f79af1c5501e13e4d199fb.zip
Made write_sbuf() non-static.
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io.c b/io.c
index 925b13ed..ba969067 100644
--- a/io.c
+++ b/io.c
@@ -1035,12 +1035,11 @@ void write_buf(int f,char *buf,size_t len)
}
/** Write a string to the connection */
-static void write_sbuf(int f,char *buf)
+void write_sbuf(int f, char *buf)
{
writefd(f, buf, strlen(buf));
}
-
void write_byte(int f,unsigned char c)
{
writefd(f, (char *)&c, 1);