Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/hpcmips/vr Pull up revision 1.23 (requested by...
details: https://anonhg.NetBSD.org/src/rev/a421623525ed
branches: netbsd-1-5
changeset: 488903:a421623525ed
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Aug 06 04:27:36 2000 +0000
description:
Pull up revision 1.23 (requested by takemura)
vrkiu_getc() will call over and over. but we want to see 'not implemented'
only once.
diffstat:
sys/arch/hpcmips/vr/vrkiu.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r c436d4917ff6 -r a421623525ed sys/arch/hpcmips/vr/vrkiu.c
--- a/sys/arch/hpcmips/vr/vrkiu.c Sun Aug 06 04:21:30 2000 +0000
+++ b/sys/arch/hpcmips/vr/vrkiu.c Sun Aug 06 04:27:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vrkiu.c,v 1.22 2000/06/03 08:00:44 takemura Exp $ */
+/* $NetBSD: vrkiu.c,v 1.22.2.1 2000/08/06 04:27:36 takemura Exp $ */
/*-
* Copyright (c) 1999 SASAKI Takesi All rights reserved.
@@ -605,15 +605,20 @@
return (detected);
}
-/* called from biconsdev.c */
+/* called from bicons.c */
int
vrkiu_getc()
{
+ static int flag = 1;
+
/*
* XXX, currently
*/
- printf("%s(%d): vrkiu_getc() is not implemented\n",
- __FILE__, __LINE__);
+ if (flag) {
+ flag = 0;
+ printf("%s(%d): vrkiu_getc() is not implemented\n",
+ __FILE__, __LINE__);
+ }
return 0;
}
Home |
Main Index |
Thread Index |
Old Index