Lines Matching refs:protofile
452 first_pass_prototype(const char *protofile, const char *protodir, in first_pass_prototype() argument
460 if ((proto_fp = fopen(protofile, "r")) == NULL) { in first_pass_prototype()
461 perror(protofile); in first_pass_prototype()
485 "error: Errors found in %s\n", protofile); in first_pass_prototype()
516 protofile, buf); in first_pass_prototype()
521 "prototype %s : %s\n", protofile, buf); in first_pass_prototype()
528 protofile, buf); in first_pass_prototype()
559 second_pass_prototype(const char *protofile, const char *protodir, in second_pass_prototype() argument
567 if ((proto_fp = fopen(protofile, "r")) == NULL) { in second_pass_prototype()
568 perror(protofile); in second_pass_prototype()
585 "error: Errors found in %s\n", protofile); in second_pass_prototype()
613 "prototype %s : %s\n", protofile, buf); in second_pass_prototype()
638 char protofile[MAXPATHLEN]; in process_package_dir() local
657 (void) strcat(strcat(strcpy(protofile, protodir), "/"), "prototype"); in process_package_dir()
658 if (stat(protofile, &st_buf) < 0) { in process_package_dir()
660 (void) strcat(strcat(strcat(strcpy(protofile, in process_package_dir()
662 if (stat(protofile, &st_buf) < 0) { in process_package_dir()
672 perror(protofile); in process_package_dir()
676 perror(protofile); in process_package_dir()
685 count += first_pass_prototype(protofile, protodir, list, arch, in process_package_dir()
687 count += second_pass_prototype(protofile, protodir, list, arch, in process_package_dir()