Lines Matching defs:newcc
372 struct cc *newcc;
431 newcc = (struct cc *)malloc(sizeof(*newcc));
432 if (newcc == NULL) {
436 newcc->rdclass = rdclass;
437 strncpy(newcc->classname, classname, sizeof(newcc->classname));
438 newcc->classname[sizeof(newcc->classname) - 1] = '\0';
448 free((char *)newcc);
452 newcc->next = cc;
454 oldcc->next = newcc;
456 classes = newcc;