projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collectd.conf: Update grpc sample configuration.
[collectd.git]
/
src
/
daemon
/
common.h
diff --git
a/src/daemon/common.h
b/src/daemon/common.h
index
c3f7f54
..
6981d21
100644
(file)
--- a/
src/daemon/common.h
+++ b/
src/daemon/common.h
@@
-37,9
+37,7
@@
#define sfree(ptr) \
do { \
#define sfree(ptr) \
do { \
- if((ptr) != NULL) { \
- free(ptr); \
- } \
+ free(ptr); \
(ptr) = NULL; \
} while (0)
(ptr) = NULL; \
} while (0)
@@
-224,8
+222,6
@@
int escape_string (char *buffer, size_t buffer_size);
*/
void replace_special (char *buffer, size_t buffer_size);
*/
void replace_special (char *buffer, size_t buffer_size);
-int strsubstitute (char *str, char c_from, char c_to);
-
/*
* NAME
* strunescape
/*
* NAME
* strunescape