[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] fix for patch 1
From: |
Marin Ramesa |
Subject: |
[PATCH 3/5] fix for patch 1 |
Date: |
Tue, 26 Nov 2013 21:06:50 +0100 |
* i386/i386at/kd.c (charput): Correctly declare argument types.
(charmvup): Likewise.
(charmvdown): Likewise.
(charclear): Likewise.
(charsetcursor): Likewise.
(kdcheckmagic): Likewise.
(bmpch2bit): Likewise.
(bmppaintcsr): Likewise.
(bit2fbptr): Likewise.
---
i386/i386at/kd.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index fca5829..e337bab 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -109,9 +109,13 @@ void kd_enqsc(); /* enqueues a scancode
*/
struct tty kd_tty;
extern int rebootflag;
-static void charput(), charmvup(), charmvdown(), charclear(), charsetcursor();
+static void charput(csrpos_t, char, char);
+static void charmvup(csrpos_t, csrpos_t, int);
+static void charmvdown(csrpos_t, csrpos_t, int);
+static void charclear(csrpos_t, int, char);
+static void charsetcursor(csrpos_t);
static void kd_noopreset();
-boolean_t kdcheckmagic();
+boolean_t kdcheckmagic(Scancode);
int do_modifier (int, Scancode, boolean_t);
@@ -2643,8 +2647,9 @@ kd_noopreset(void)
* See the comments above about SLAMBPW.
*/
-void bmpch2bit(), bmppaintcsr();
-u_char *bit2fbptr();
+void bmpch2bit(csrpos_t, short *, short *);
+void bmppaintcsr(csrpos_t, u_char);
+u_char *bit2fbptr(short, short);
/*
--
1.8.1.4