aboutsummaryrefslogtreecommitdiff
path: root/scripts/config/expr.c
diff options
context:
space:
mode:
authorpkj <pkj@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-19 09:55:06 +0000
committerpkj <pkj@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-19 09:55:06 +0000
commit7040afbfe7ee686d173037d1a139fa23a57c5c43 (patch)
tree3e1ebb993c7c1979858d58dfd5a923e60a67ec5d /scripts/config/expr.c
parent43943486cc53ee4599aa7ac2d12e6fbcd8456945 (diff)
downloadbusybox-w32-7040afbfe7ee686d173037d1a139fa23a57c5c43.tar.gz
busybox-w32-7040afbfe7ee686d173037d1a139fa23a57c5c43.tar.bz2
busybox-w32-7040afbfe7ee686d173037d1a139fa23a57c5c43.zip
Updated to match trunk/uClibc/extra/config as of r10132, and thus
Linux 2.6.11. git-svn-id: svn://busybox.net/trunk/busybox@10135 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'scripts/config/expr.c')
-rw-r--r--scripts/config/expr.c10
1 files changed, 10 insertions, 0 deletions
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)
1087{ 1087{
1088 expr_print(e, expr_print_file_helper, out, E_NONE); 1088 expr_print(e, expr_print_file_helper, out, E_NONE);
1089} 1089}
1090
1091static void expr_print_gstr_helper(void *data, const char *str)
1092{
1093 str_append((struct gstr*)data, str);
1094}
1095
1096void expr_gstr_print(struct expr *e, struct gstr *gs)
1097{
1098 expr_print(e, expr_print_gstr_helper, gs, E_NONE);
1099}