From: Andre Noll Date: Sun, 25 Nov 2007 22:21:35 +0000 (+0100) Subject: string.h: for_each_line_ro() takes a _pointer_ to the line_handler. X-Git-Tag: v0.3.0~76 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=501982498f53af38da7e7372670f1ed1886deac9;p=paraslash.git string.h: for_each_line_ro() takes a _pointer_ to the line_handler. --- 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);