usr.sbin/config/mkmakefile.c
/*
 * Make a new file list entry
 */
Make a new file list entry
Make a new file list entry
struct file_list *
new_fent()
{
	register struct file_list *fp;
	fp = (struct file_list *) malloc(sizeof *fp);
	bzero(fp, sizeof *fp);
	if (fcur == 0)
		fcur = ftab = fp;
	else
		fcur->f_next = fp;
	fcur = fp;
	return (fp);
}
struct file_list * new_fent ( ) { register struct file_list * fp ; fp = ( struct file_list * ) malloc ( sizeof * fp ) ; bzero ( fp , sizeof * fp ) ; if ( fcur == 0 ) fcur = ftab = fp ; else fcur -> f_next = fp ; fcur = fp ; return ( fp ) ; }
Make a new file list entry
Make a new file list entry