program_name, optarg);
program_name, name);
static void setfilename(char *name, int what){    register FILE *fd;    register char *p;    char fline[MAXHOSTNAMELEN];    if ((fd = fopen(name, "r")) != NULL) {	while (fgets(fline, sizeof(fline), fd) != NULL) {	    if ((p = index(fline, '\n')) != NULL)		*p = '\0';	    if (opt_v)		fprintf(stderr, ">> %s\n", fline);	    if (fline[0] == '#')		continue;            switch(what) {            case SETHOST:                sethname(fline);                break;            case SETDOMAIN:                setdname(fline);                break;#if HAVE_AFDECnet            case SETNODE:                setnname(fline);                break;#endif /* HAVE_AFDECnet */            }	}	(void) fclose(fd);    } else {	fprintf(stderr, _("%s: can't open `%s'\n"),		program_name, optarg);	exit(1);    }}