ref: 8730d2ebb4229ca39985e459cefc8180d6ee441e
dir: /lib/scc/newitem.c/
#include "../../inc/scc.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;
}