X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fliboping.c;h=88244bb7b66faed42967dfed725aea15c96e11b3;hb=0788ea02313aa3b3e5f9c5ec2f78e0a6b2eca272;hp=0cff9f43a6422c0d563f59abf0eed2416928a3a5;hpb=e212784b3cda7d17569a8c6ca3b73f35454e8c75;p=liboping.git diff --git a/src/liboping.c b/src/liboping.c index 0cff9f4..88244bb 100644 --- a/src/liboping.c +++ b/src/liboping.c @@ -145,7 +145,7 @@ struct pingobj /* 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;