From bc747651f044d98cc633da689eb4ff7a67e755ae Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 15 Feb 2015 16:42:19 +0100 Subject: [PATCH] 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. --- fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5