Module Name: src Committed By: uebayasi Date: Tue Oct 14 08:00:27 UTC 2014
Modified Files: src/usr.bin/config: main.c Log Message: Revert implicit attribute (module) declaration for options (flag/param). Flag and param are to change contents of attributes (modules). These don't have code (*.[coS]). Filesystem definition still defines an attribute (module) implicitly. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/usr.bin/config/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/config/main.c diff -u src/usr.bin/config/main.c:1.67 src/usr.bin/config/main.c:1.68 --- src/usr.bin/config/main.c:1.67 Sat Oct 11 15:47:38 2014 +++ src/usr.bin/config/main.c Tue Oct 14 08:00:27 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.67 2014/10/11 15:47:38 uebayasi Exp $ */ +/* $NetBSD: main.c,v 1.68 2014/10/14 08:00:27 uebayasi Exp $ */ /* * Copyright (c) 1992, 1993 @@ -893,13 +893,6 @@ defopt(struct dlhash *ht, const char *fn olddl = olddl->dl_next; olddl->dl_next = dl; } - - /* - * Implicit attribute definition for option. - */ - const char *n; - n = strtolower(dl->dl_name); - refattr(n); } }