summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e212784)
raw | patch | inline | side by side (parent: e212784)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 6 Jun 2009 12:47:42 +0000 (14:47 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 6 Jun 2009 13:18:12 +0000 (15:18 +0200) |
This is a private helper function only.
src/liboping.c | patch | blob | history |
diff --git a/src/liboping.c b/src/liboping.c
index 0cff9f43a6422c0d563f59abf0eed2416928a3a5..88244bb7b66faed42967dfed725aea15c96e11b3 100644 (file)
--- a/src/liboping.c
+++ b/src/liboping.c
/* 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;