summaryrefslogtreecommitdiff
path: root/misc/figlet/patches/patch-utf8.h
blob: 0534acc1d2f8923b13485c266eb10fa80b6eeae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-utf8.h,v 1.1 2012/03/12 13:29:20 fhajny Exp $

Remove stale C++ conditionals.
--- utf8.h.orig	2011-01-26 10:36:21.000000000 +0000
+++ utf8.h
@@ -27,13 +27,8 @@
 #define UTF8_IGNORE_ERROR		0x01
 #define UTF8_SKIP_BOM			0x02
 
-__BEGIN_DECLS
-
 size_t		utf8_to_wchar(const char *in, size_t insize, wchar_t *out,
 		    size_t outsize, int flags);
 size_t		wchar_to_utf8(const wchar_t *in, size_t insize, char *out,
 		    size_t outsize, int flags);
-
-__END_DECLS
-
 #endif /* !_UTF8_H_ */