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