X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fclient.c;h=407493c5b553f6a443d1c710dd41b218cc645ba5;hb=658e44d47088aaea3c59fb248336a74fdefe4245;hp=501c729c143e53227a6256ace249295103136650;hpb=1356582b942b5cdcbecb70adf3abb0d1226548ae;p=collectd.git diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 501c729c..407493c5 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -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;