From: Sebastian Harl Date: Tue, 2 Jun 2009 19:53:29 +0000 (+0200) Subject: libcollectdclient/client.c: Made sstrerror() static. X-Git-Tag: collectd-4.6.4~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d2c4cb59b2b8a52d613e5caac090736d02e90dbf;p=collectd.git libcollectdclient/client.c: Made sstrerror() static. This is a private helper function only. --- 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;