summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-09 23:57:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-10 00:45:11 +0100
commiteaafcf0c76fe5a21f180c1a00a590e5f1d296ebc (patch)
tree95f7f52ae33e66651c3d8e84ec3d082dad00ef77 /device
parent25140ed6e982b49329f202ba06ea2a488cd30f6b (diff)
device/cons.c: fix argument list
* device/cons.c (romgetc, romputc): Fix argument list.
Diffstat (limited to 'device')
-rw-r--r--device/cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/cons.c b/device/cons.c
index b35e79f4..285fb99e 100644
--- a/device/cons.c
+++ b/device/cons.c
@@ -42,8 +42,8 @@ static struct consdev *cn_tab = 0; /* physical console device info */
* is enabled. This can be useful to debug (or catch panics from) code early
* in the bootstrap procedure.
*/
-int (*romgetc)() = 0;
-void (*romputc)() = 0;
+int (*romgetc)(char c) = 0;
+void (*romputc)(char c) = 0;
#if CONSBUFSIZE > 0
/*