git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ZFS specific mmap() checks
[zfs.git]
/
module
/
unicode
/
uconv.c
diff --git
a/module/unicode/uconv.c
b/module/unicode/uconv.c
index
fd65fc9
..
7a82783
100644
(file)
--- a/
module/unicode/uconv.c
+++ b/
module/unicode/uconv.c
@@
-23,7
+23,7
@@
* Use is subject to license terms.
*/
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
+
/*
* Unicode encoding conversion functions among UTF-8, UTF-16, and UTF-32.
/*
* Unicode encoding conversion functions among UTF-8, UTF-16, and UTF-32.
@@
-853,3
+853,12
@@
uconv_u8tou32(const uchar_t *u8s, size_t *utf8len,
return (0);
}
return (0);
}
+
+#if defined(_KERNEL) && defined(HAVE_SPL)
+EXPORT_SYMBOL(uconv_u16tou32);
+EXPORT_SYMBOL(uconv_u16tou8);
+EXPORT_SYMBOL(uconv_u32tou16);
+EXPORT_SYMBOL(uconv_u32tou8);
+EXPORT_SYMBOL(uconv_u8tou16);
+EXPORT_SYMBOL(uconv_u8tou32);
+#endif