projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452a77a
)
libcollectdclient/client.c: Made sstrerror() static.
author
Sebastian Harl
<sh@tokkee.org>
Tue, 2 Jun 2009 19:53:29 +0000
(21:53 +0200)
committer
Sebastian Harl
<sh@tokkee.org>
Tue, 2 Jun 2009 19:57:20 +0000
(21:57 +0200)
This is a private helper function only.
src/libcollectdclient/client.c
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/client.c
b/src/libcollectdclient/client.c
index
2523eea
..
24c989e
100644
(file)
--- a/
src/libcollectdclient/client.c
+++ b/
src/libcollectdclient/client.c
@@
-121,7
+121,7
@@
typedef struct lcc_response_s lcc_response_t;
/* 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;