ref: d0e5ea2107b6e7ebe743a4f6eb5be4953cdf519d
dir: /lib/newitem.c/
#include "../inc/cc.h" void newitem(struct items *items, char *item) { if ((items->n + 1) < items->n) die("newitem: overflow (%u + 1)", items->n); items->s = xrealloc(items->s, (items->n + 1) * sizeof(char **)); items->s[items->n++] = item; }