From 0788ea02313aa3b3e5f9c5ec2f78e0a6b2eca272 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 6 Jun 2009 14:47:42 +0200 Subject: [PATCH] src/liboping.c: Made sstrerror() static. This is a private helper function only. --- src/liboping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0