aboutsummaryrefslogtreecommitdiff
path: root/package/config/expr.c
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2005-08-02 00:57:33 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2005-08-02 00:57:33 +0000
commit273175d0d3903f89e740adad520af516c5ca72b4 (patch)
treedea82fb76c3797d61d34f1e59ab4a0c232518b4e /package/config/expr.c
parenta18f36417b16217a2793fe74a588d8f0f9491417 (diff)
downloadbuildroot-273175d0d3903f89e740adad520af516c5ca72b4.tar.gz
buildroot-273175d0d3903f89e740adad520af516c5ca72b4.tar.bz2
update kbuild system
Diffstat (limited to 'package/config/expr.c')
-rw-r--r--package/config/expr.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/config/expr.c b/package/config/expr.c
index 10f45232b4..30e4f9d69c 100644
--- a/package/config/expr.c
+++ b/package/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);
+}