aboutsummaryrefslogtreecommitdiff
path: root/japanese/onew/files/patch-dialogue-keisen.c
blob: df49736a173c4c57194cd62e9e209e0b466e0052 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- dialogue/keisen.c.orig	2014-05-25 11:41:08.000000000 +0900
+++ dialogue/keisen.c	2014-05-25 11:45:53.000000000 +0900
@@ -6,7 +6,7 @@
 int KEISEN_TOGGLE_A	= Cntl('N');
 int KEISEN_TOGGLE_B	= Cntl('B');
 
-static
+static int
 keisen_toggle(type)
 int  type;
 {
@@ -39,7 +39,8 @@
 	}
 	return 0;
 }
-keisen_init(){
+void
+keisen_init(void){
 	ONEW_KEISEN_ON = getenv("ONEW_KEISENMODE");
 	if( ONEW_KEISEN_ON == 0 )
 		return;