From: Wayne Davison Date: Tue, 20 Jul 2004 16:57:18 +0000 (+0000) Subject: Made write_sbuf() non-static. X-Git-Tag: v2.6.3pre1~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf338ab1be08818ce8f79af1c5501e13e4d199fb;p=thirdparty%2Frsync.git Made write_sbuf() non-static. --- 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);