Lines Matching refs:inc
802 struct include_entry *inc;
817 inc = malloc(sizeof(struct include_entry));
818 if (inc == NULL)
819 err(1, "malloc of inc");
820 inc->file = conf;
821 if (inc->file == NULL)
822 inc->file = _PATH_CONF;
823 STAILQ_INSERT_TAIL(&inclist, inc, inc_nextp);
825 STAILQ_FOREACH(inc, &inclist, inc_nextp) {
826 if (strcmp(inc->file, "-") != 0)
827 f = fopen(inc->file, "r");
830 inc->file = "<stdin>";
833 err(1, "%s", inc->file);
836 printf("Processing %s\n", inc->file);
1675 struct include_entry *inc;
1677 STAILQ_FOREACH(inc, inclist, inc_nextp) {
1678 if (strcmp(fname, inc->file) == 0) {
1684 inc = malloc(sizeof(struct include_entry));
1685 if (inc == NULL)
1686 err(1, "malloc of inc");
1687 inc->file = strdup(fname);
1692 STAILQ_INSERT_TAIL(inclist, inc, inc_nextp);