pkgsrc-ng/inputmethod/skkfep/patches/patch-romkan-org.c
2013-09-26 17:14:40 +02:00

38 lines
858 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-romkan-org.c,v 1.1 2012/12/20 21:50:47 joerg Exp $
--- romkan-org.c.orig 2012-12-20 14:39:27.000000000 +0000
+++ romkan-org.c
@@ -187,6 +187,9 @@ char *modeString[] = {
"$@C18lA*Br(J",
};
+void inputKanaConso(char c, void (*output)(),void (*flush)());
+void flushLastConso(char *c, void (*output)(), void (*flush)());
+
void writeShells(),flushOut();
void
@@ -261,10 +264,7 @@ void (*output)();
Nconso = 0;
}
-inputKanaConso(c,output,flush)
-char c;
-void (*output)();
-void (*flush)();
+void inputKanaConso(char c, void (*output)(),void (*flush)())
{
char notOverwrite = 0;
switch (c) {
@@ -356,9 +356,7 @@ void (*flush)();
write1(c);
}
-flushLastConso(c,output,flush)
-char c;
-void (*output)(),(*flush)();
+void flushLastConso(char *c, void (*output)(), void (*flush)())
{
if (Nconso == 0) {
return;