From: Sebastian Harl Date: Sat, 6 Jun 2009 12:47:42 +0000 (+0200) Subject: src/liboping.c: Made sstrerror() static. X-Git-Tag: liboping-1.2.0~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0788ea02313aa3b3e5f9c5ec2f78e0a6b2eca272;p=liboping.git src/liboping.c: Made sstrerror() static. This is a private helper function only. --- 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;