Module Name: src Committed By: rin Date: Fri Apr 29 20:48:27 UTC 2022
Modified Files: src/sys/arch/bebox/stand/boot: tgets.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/bebox/stand/boot/tgets.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/bebox/stand/boot/tgets.c diff -u src/sys/arch/bebox/stand/boot/tgets.c:1.8 src/sys/arch/bebox/stand/boot/tgets.c:1.9 --- src/sys/arch/bebox/stand/boot/tgets.c:1.8 Fri Feb 25 10:12:44 2011 +++ src/sys/arch/bebox/stand/boot/tgets.c Fri Apr 29 20:48:26 2022 @@ -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 @@ tgets(char *buf) #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: