From 501982498f53af38da7e7372670f1ed1886deac9 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 25 Nov 2007 23:21:35 +0100 Subject: [PATCH] string.h: for_each_line_ro() takes a _pointer_ to the line_handler. --- string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.h b/string.h index 6759c261..eb29b919 100644 --- a/string.h +++ b/string.h @@ -37,7 +37,7 @@ __printf_2_3 int para_printf(struct para_buffer *b, const char *fmt, ...); typedef int line_handler_t(char *, void *); int for_each_line(char *buf, size_t size, line_handler_t *line_handler, void *private_data); -int for_each_line_ro(char *buf, size_t size, line_handler_t line_handler, +int for_each_line_ro(char *buf, size_t size, line_handler_t *line_handler, void *private_data); int para_atoi64(const char *str, int64_t *result); int para_atoi32(const char *str, int32_t *value); -- 2.39.5