From e5ede3c94dfca33ec2b1fac5e08562922c5f594d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 13 Apr 2015 11:35:12 +0200 Subject: parse_kconfig change default size of array This is only cosmetic. --- scripts/parse_kconfig/symlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/parse_kconfig/symlist.c') diff --git a/scripts/parse_kconfig/symlist.c b/scripts/parse_kconfig/symlist.c index 072ffe0..a184829 100644 --- a/scripts/parse_kconfig/symlist.c +++ b/scripts/parse_kconfig/symlist.c @@ -3,7 +3,7 @@ struct symlist *symlist_create() { struct symlist *ret; ret = malloc(sizeof(struct symlist)); - ret->size = 2; + ret->size = 1; ret->pos = 0; ret->array = malloc(ret->size * sizeof(struct symlist_el)); return ret; -- cgit v1.2.3