From d2c4cb59b2b8a52d613e5caac090736d02e90dbf Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 2 Jun 2009 21:53:29 +0200 Subject: [PATCH] libcollectdclient/client.c: Made sstrerror() static. This is a private helper function only. --- src/libcollectdclient/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 2523eeaa..24c989e9 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -121,7 +121,7 @@ typedef struct lcc_response_s lcc_response_t; /* Even though Posix requires "strerror_r" to return an "int", * some systems (e.g. the GNU libc) return a "char *" _and_ * ignore the second argument ... -tokkee */ -char *sstrerror (int errnum, char *buf, size_t buflen) +static char *sstrerror (int errnum, char *buf, size_t buflen) { buf[0] = 0; -- 2.11.0