From: Andre Noll Date: Sun, 15 Feb 2015 15:42:19 +0000 (+0100) Subject: fd.c: Make __write() static. X-Git-Tag: v1.0.0~3 X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=bc747651f044d98cc633da689eb4ff7a67e755ae;ds=sidebyside fd.c: Make __write() static. It's an internal function which is only used inside fd.c, as indicated by the leading underscores. And it does not have a prototype in fd.h. --- diff --git a/fd.c b/fd.c index 9fe8867..cb6724a 100644 --- a/fd.c +++ b/fd.c @@ -30,7 +30,7 @@ * * \sa write(2). */ -ssize_t __write(int fd, const void *buf, size_t size) +static ssize_t __write(int fd, const void *buf, size_t size) { ssize_t ret;