summaryrefslogtreecommitdiff
path: root/textproc/kakasi/patches/patch-aa
blob: d420c48f3493fa115ee76389009f0cd4a4715c70 (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.1.1.1 2002/05/31 13:00:32 seb 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;