aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/lkc.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-28 14:09:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-28 14:09:12 +0000
commit141e0902dce8f481ff8a8a4ad1acc61ae0fd074e (patch)
tree49f941aa07281d5318170b2ffaef3f71eb7cb96f /scripts/config/lkc.h
parent114af4099afe6f60cb372f5e59480537284f75f2 (diff)
downloadupstream-141e0902dce8f481ff8a8a4ad1acc61ae0fd074e.tar.gz
upstream-141e0902dce8f481ff8a8a4ad1acc61ae0fd074e.tar.bz2
upstream-141e0902dce8f481ff8a8a4ad1acc61ae0fd074e.zip
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 527f60c99c..a6622e60eb 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);