Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/bebox/stand/boot Fix fallout from libsa change; sta...



details:   https://anonhg.NetBSD.org/src/rev/f7a4560b4653
branches:  trunk
changeset: 365865:f7a4560b4653
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Apr 29 20:48:26 2022 +0000

description:
Fix fallout from libsa change; stand.h includes <sys/param.h> now.

SCANWAIT and PWAIT are renamed to SCANDELAY and SCANWAIT, respectively,
in order not to redefine PWAIT.

diffstat:

 sys/arch/bebox/stand/boot/tgets.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 15dc02ddda9c -r f7a4560b4653 sys/arch/bebox/stand/boot/tgets.c
--- a/sys/arch/bebox/stand/boot/tgets.c Fri Apr 29 20:24:02 2022 +0000
+++ b/sys/arch/bebox/stand/boot/tgets.c Fri Apr 29 20:48:26 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tgets.c,v 1.8 2011/02/25 10:12:44 kiyohara Exp $       */
+/*     $NetBSD: tgets.c,v 1.9 2022/04/29 20:48:26 rin Exp $    */
 
 /*-
  * Copyright (c) 1993
@@ -43,12 +43,12 @@
 #ifdef USE_SCAN
        int i;
 
-#define        SCANWAIT        10000
-#define        PWAIT           500
-       for (i = 0; i < PWAIT; i++) {
+#define        SCANDELAY       10000
+#define        SCANWAIT        500
+       for (i = 0; i < SCANWAIT; i++) {
                if ((c = cnscan()) != -1)
                        goto next;
-               delay(SCANWAIT);
+               delay(SCANDELAY);
        }
        return -1;
 next:



Home | Main Index | Thread Index | Old Index