Date: Fri, 25 Nov 2005 22:25:35 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/config config.h mkheaders.c mkmakefile.c Message-ID: <200511252225.jAPMPZ3b098914@repoman.freebsd.org>
index | next in thread | raw e-mail
ru 2005-11-25 22:25:35 UTC
FreeBSD src repository
Modified files:
usr.sbin/config config.h mkheaders.c mkmakefile.c
Log:
Clean some code that became obfuscated over the years:
Don't keep duplicate files in the files list just to
mark the device as "known" later. XXX: Since the
device list isn't unique (there can be two "device foo"
directives, as this the case with LINT+DEFAULTS), we
have to traverse it all to mark all copies of the same
device as "used", but this is not worse than it was.
Revision Changes Path
1.58 +0 -3 src/usr.sbin/config/config.h
1.31 +0 -13 src/usr.sbin/config/mkheaders.c
1.82 +19 -43 src/usr.sbin/config/mkmakefile.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511252225.jAPMPZ3b098914>
