ref: e951f65cd7c66260d1b3c0c4b7ea89cd01dd9b5e
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; }