From bae38db8e42b2d09b920d9430d18ee41bdcc0b17 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Tue, 19 Apr 2005 09:55:06 +0000 Subject: Updated to match trunk/uClibc/extra/config as of r10132, and thus Linux 2.6.11. --- scripts/config/expr.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scripts/config/expr.c') diff --git a/scripts/config/expr.c b/scripts/config/expr.c index 10f45232b..30e4f9d69 100644 --- a/scripts/config/expr.c +++ b/scripts/config/expr.c @@ -1087,3 +1087,13 @@ void expr_fprint(struct expr *e, FILE *out) { expr_print(e, expr_print_file_helper, out, E_NONE); } + +static void expr_print_gstr_helper(void *data, const char *str) +{ + str_append((struct gstr*)data, str); +} + +void expr_gstr_print(struct expr *e, struct gstr *gs) +{ + expr_print(e, expr_print_gstr_helper, gs, E_NONE); +} -- cgit v1.2.3