summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 452a77a)
raw | patch | inline | side by side (parent: 452a77a)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 2 Jun 2009 19:53:29 +0000 (21:53 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 2 Jun 2009 19:57:20 +0000 (21:57 +0200) |
This is a private helper function only.
src/libcollectdclient/client.c | patch | blob | history |
index 2523eeaa677a0d3cc7a1afb2b9ae862bea870057..24c989e9c4d3763dd0f51e81ca7ee231e46b9ddf 100644 (file)
/* 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;