summaryrefslogtreecommitdiffstats
path: root/scripts/config/lkc.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-28 14:09:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-28 14:09:12 +0000
commite7220316405bee3cba9de6d781403124525923be (patch)
tree49f941aa07281d5318170b2ffaef3f71eb7cb96f /scripts/config/lkc.h
parent41f2b5ed5fc1c36aa0489b39afd4f3120b8e5338 (diff)
scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28658 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/lkc.h')
-rw-r--r--scripts/config/lkc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/config/lkc.h b/scripts/config/lkc.h
index 527f60c99..a6622e60e 100644
--- a/scripts/config/lkc.h
+++ b/scripts/config/lkc.h
@@ -88,6 +88,11 @@ int file_write_dep(const char *name);
struct gstr {
size_t len;
char *s;
+ /*
+ * when max_width is not zero long lines in string s (if any) get
+ * wrapped not to exceed the max_width value
+ */
+ int max_width;
};
struct gstr str_new(void);
struct gstr str_assign(const char *s);