Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb "#else if" is not a valid CPP directive. Use "#...



details:   https://anonhg.NetBSD.org/src/rev/7fb23bb1ae42
branches:  trunk
changeset: 504163:7fb23bb1ae42
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sat Feb 24 00:03:46 2001 +0000

description:
"#else if" is not a valid CPP directive.  Use "#elif".

diffstat:

 sys/dev/usb/umass.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ce41b6e8958a -r 7fb23bb1ae42 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Sat Feb 24 00:03:12 2001 +0000
+++ b/sys/dev/usb/umass.c       Sat Feb 24 00:03:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.51 2001/02/08 13:24:05 tsutsui Exp $       */
+/*     $NetBSD: umass.c,v 1.52 2001/02/24 00:03:46 cgd Exp $   */
 /*-
  * Copyright (c) 1999 MAEKAWA Masahide <bishop%rr.iij4u.or.jp@localhost>,
  *                   Nick Hibma <n_hibma%freebsd.org@localhost>
@@ -828,7 +828,7 @@
        USB_MATCH_START(umass, uaa);
 #if defined(__FreeBSD__)
        struct umass_softc *sc = device_get_softc(self);
-#else if defined(__NetBSD__) || defined(__OpenBSD__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
        struct umass_softc scs, *sc = &scs;
        memset(sc, 0, sizeof *sc);
        strcpy(sc->sc_dev.dv_xname, "umass");



Home | Main Index | Thread Index | Old Index