Source-Changes-HG archive

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

[src/trunk]: src/sys/dev "lp" must be defined reagardless from __HAVE_OLD_DIS...



details:   https://anonhg.NetBSD.org/src/rev/c779948f4a67
branches:  trunk
changeset: 501829:c779948f4a67
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Jan 08 06:57:21 2001 +0000

description:
"lp" must be defined reagardless from __HAVE_OLD_DISKLABEL

diffstat:

 sys/dev/ld.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1f725fdc77c2 -r c779948f4a67 sys/dev/ld.c
--- a/sys/dev/ld.c      Mon Jan 08 06:22:42 2001 +0000
+++ b/sys/dev/ld.c      Mon Jan 08 06:57:21 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld.c,v 1.5 2001/01/08 02:03:46 fvdl Exp $      */
+/*     $NetBSD: ld.c,v 1.6 2001/01/08 06:57:21 itojun Exp $    */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -282,8 +282,9 @@
        struct ld_softc *sc;
        int part, unit, error;
 #ifdef __HAVE_OLD_DISKLABEL
-       struct disklabel newlabel, *lp;
+       struct disklabel newlabel;
 #endif
+       struct disklabel *lp;
 
        unit = DISKUNIT(dev);
        part = DISKPART(dev);



Home | Main Index | Thread Index | Old Index