blob: abe237f1b8e0f61cd7682588c4ea28982e0f67ac (
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
27
28
29
30
31
32
33
|
$NetBSD: patch-aa,v 1.5 2004/08/26 20:22:18 recht Exp $
--- dox/file.c.orig 2004-07-01 20:51:46.000000000 +0200
+++ dox/file.c
@@ -26,6 +26,11 @@
# include <wctype.h>
#endif
+#include <sys/param.h>
+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ < 106210000)
+typedef unsigned int wctype_t;
+#endif
+
static int
exists(char *s)
{
@@ -175,6 +180,7 @@ word_mb(char *s, int num, char *wd, int
}
/* Check multibyte character class is available or not */
+/*
wcflg = 0;
for (cc = char_class_tbl; cc->name != NULL; cc++)
{
@@ -182,7 +188,7 @@ word_mb(char *s, int num, char *wd, int
if (cc->wt != (wctype_t) 0)
wcflg = 1;
}
-
+*/
cnt = 0;
i = 0;
start = NULL;
|