Code

configure.in: Use pkg-config to check for libvarnishapi.
[collectd.git] / src / libcollectdclient / client.c
index bb7ee95628506b99470fc99885e7009433978703..63d4e9d7cd75bf9d6a7652d7241559183fa98e39 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;