Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/vr vrkiu_getc() will call over and over. bu...
details: https://anonhg.NetBSD.org/src/rev/3af4597c447f
branches: trunk
changeset: 495122:3af4597c447f
user: takemura <takemura%NetBSD.org@localhost>
date: Sat Jul 22 08:26:00 2000 +0000
description:
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 e41accbd258c -r 3af4597c447f sys/arch/hpcmips/vr/vrkiu.c
--- a/sys/arch/hpcmips/vr/vrkiu.c Sat Jul 22 06:02:46 2000 +0000
+++ b/sys/arch/hpcmips/vr/vrkiu.c Sat Jul 22 08:26:00 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.23 2000/07/22 08:26:00 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