diff --git a/src/utils_tail.h b/src/utils_tail.h
index 9535dae45dbbb082e5be5e05a7b147c457d4a7fb..c47931976dda5551a0bdb492e39c2346e1c6efe5 100644 (file)
--- a/src/utils_tail.h
+++ b/src/utils_tail.h
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
*
* 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 */