diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2005-04-18 15:59:49 +0000 |
---|---|---|
committer | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2005-04-18 15:59:49 +0000 |
commit | f66a762344d77b8e4a4d50e68896638a234dc631 (patch) | |
tree | 9b3bf1632a7dd59c788d998b24efa084c9f6ea0a /extra/config/expr.c | |
parent | 5178925d7b23c6fd5c79d602c9e873cb9ba50ea2 (diff) |
Updated to match Linux 2.6.11.
Diffstat (limited to 'extra/config/expr.c')
-rw-r--r-- | extra/config/expr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/config/expr.c b/extra/config/expr.c index 10f45232b..30e4f9d69 100644 --- a/extra/config/expr.c +++ b/extra/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); +} |