X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=scripts%2Fconfig%2Futil.c;fp=scripts%2Fconfig%2Futil.c;h=0e76042473ccd3633aa0870da3cce23e0b1788c6;hb=2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5;hp=94f9c83e324f4a72b79b6fbf8ca6b3999d046702;hpb=7bf3695b0230d4cc4b6348f7c87b3c164314db8d;p=openwrt%2Fstaging%2Fdedeckeh.git diff --git a/scripts/config/util.c b/scripts/config/util.c index 94f9c83e32..0e76042473 100644 --- a/scripts/config/util.c +++ b/scripts/config/util.c @@ -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) {