summaryrefslogtreecommitdiff
path: root/inputmethod/kinput2/patches/patch-aa
blob: a19f8d1c63d336870b38654a16053508d53b36a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.3 2011/09/13 07:28:48 mef Exp $

--- include/wnnlib.h.orig	2002-10-03 09:35:27.000000000 +0000
+++ include/wnnlib.h
@@ -107,11 +107,11 @@ typedef struct {
 #ifdef __STDC__
 extern struct wnn_buf *jcOpen(char *server, char *envname,
 				int override, char *rcfile,
-				void (*error)(), int (*confirm)(),
+				int (*error)(const char *), int (*confirm)(const char *),
 				int timeout);
 extern struct wnn_buf *jcOpen2(char *server, char *envname,
 				int override, char *rcfile4, char *rcfile6,
-				void (*error)(), int (*confirm)(),
+				int (*error)(const char *), int (*confirm)(const char *),
 				int timeout);
 extern int jcClose(struct wnn_buf *wnn);
 extern int jcIsConnect(struct wnn_buf *wnn);