Merge branch 'collectd-4.6' into collectd-4.7
[collectd.git] / src / libcollectdclient / client.c
index 501c729..407493c 100644 (file)
@@ -116,7 +116,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;