summaryrefslogtreecommitdiff
path: root/textproc/kakasi/patches/patch-aa
blob: 9597437ff3719c2a0da1c47252186d08279f8a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.2 2002/08/25 18:40:06 jlam Exp $

--- lib/libkakasi.c.orig	Sun Sep  2 20:43:21 2001
+++ lib/libkakasi.c
@@ -105,6 +105,12 @@
 static int digest PARAMS((Character *c, int clen, Character *r, int rlen, int type, int (*proc)(void)));
 static void digest_shift PARAMS((Character *c, int s));
 #else /* LIBRARY */
+void digest_start_copy PARAMS((Character *c, Character *r));
+void put_separator PARAMS((void));
+void putchars PARAMS((Character *results));
+void digest_out PARAMS((Character *c, int ret));
+int digest PARAMS((Character *c, int clen, Character *r, int rlen, int type, int (*proc)(void)));
+void digest_shift PARAMS((Character *c, int s));
 static void free_jisyo PARAMS((void));
 #endif /* LIBRARY */
 
@@ -497,7 +503,7 @@
 
 char *
 kakasi_do(str)
-     char *str;
+     unsigned char *str;
 {
     Character c[KAKASIBUF], r[KAKASIBUF];
     int clen, ptype, pctype;