projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e212784
)
src/liboping.c: Made sstrerror() static.
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
0cff9f4
..
88244bb
100644
(file)
--- 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;