Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/config Revert implicit attribute (module) declaratio...



details:   https://anonhg.NetBSD.org/src/rev/1fda1ae39481
branches:  trunk
changeset: 803148:1fda1ae39481
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Oct 14 08:00:27 2014 +0000

description:
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.

diffstat:

 usr.bin/config/main.c |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r c06cbd84979f -r 1fda1ae39481 usr.bin/config/main.c
--- a/usr.bin/config/main.c     Tue Oct 14 07:25:05 2014 +0000
+++ b/usr.bin/config/main.c     Tue Oct 14 08:00:27 2014 +0000
@@ -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 @@
                                olddl = olddl->dl_next;
                        olddl->dl_next = dl;
                }
-
-               /*
-                * Implicit attribute definition for option.
-                */
-               const char *n; 
-               n = strtolower(dl->dl_name);
-               refattr(n);
        }
 }
 



Home | Main Index | Thread Index | Old Index