projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to fix collectd/collectd#229 by doing user / group lookups before we fork.
[collectd.git]
/
src
/
utils_tail.h
diff --git
a/src/utils_tail.h
b/src/utils_tail.h
index
9535dae
..
c479319
100644
(file)
--- a/
src/utils_tail.h
+++ b/
src/utils_tail.h
@@
-30,7
+30,7
@@
struct cu_tail_s;
typedef struct cu_tail_s cu_tail_t;
struct cu_tail_s;
typedef struct cu_tail_s cu_tail_t;
-typedef int tailfunc(void *data, char *buf, int buflen);
+typedef int tailfunc
_t
(void *data, char *buf, int buflen);
/*
* NAME
/*
* NAME
@@
-77,7
+77,7
@@
int cu_tail_readline (cu_tail_t *obj, char *buf, int buflen);
*
* Returns 0 when successful and non-zero otherwise.
*/
*
* Returns 0 when successful and non-zero otherwise.
*/
-int cu_tail_read (cu_tail_t *obj, char *buf, int buflen, tailfunc *callback,
+int cu_tail_read (cu_tail_t *obj, char *buf, int buflen, tailfunc
_t
*callback,
void *data);
#endif /* UTILS_TAIL_H */
void *data);
#endif /* UTILS_TAIL_H */