scripts/config: sync with latest linux upstream

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2016-08-03 19:47:34 +02:00
parent 7bf3695b02
commit 2d7e602381
15 changed files with 1414 additions and 1410 deletions

View File

@@ -88,16 +88,6 @@ struct gstr str_new(void)
return gs;
}
/* Allocate and assign growable string */
struct gstr str_assign(const char *s)
{
struct gstr gs;
gs.s = strdup(s);
gs.len = strlen(s) + 1;
gs.max_width = 0;
return gs;
}
/* Free storage for growable string */
void str_free(struct gstr *gs)
{