From owner-cvs-all Wed Feb 21 19:40:54 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B60FB37B503; Wed, 21 Feb 2001 19:40:50 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1M3eoo92800; Wed, 21 Feb 2001 19:40:50 -0800 (PST) (envelope-from peter) Message-Id: <200102220340.f1M3eoo92800@freefall.freebsd.org> From: Peter Wemm Date: Wed, 21 Feb 2001 19:40:50 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/config config.h config.y mkoptions.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2001/02/21 19:40:50 PST Modified files: usr.sbin/config config.h config.y mkoptions.c Log: Collect together a handful of copies of the option generator code into a single newopt(char *name, char *value) function. Change newdev() to do the same thing rather than depending on the evil 'cur' device hack. Revision Changes Path 1.45 +1 -2 src/usr.sbin/config/config.h 1.53 +30 -56 src/usr.sbin/config/config.y 1.27 +5 -5 src/usr.sbin/config/mkoptions.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message