summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-04-04 03:35:06 +0000
committerMartin Pool <mbp@samba.org>2003-04-04 03:35:06 +0000
commit82272f3bafde3032dd2ec4ae3546a596c9b807b8 (patch)
tree552d74262289f7d16ba84c6ca2cdc88b15ef01c7 /source3
parent92a24ce87e4f14de0f82c2c78b4245dadc3255c8 (diff)
downloadsamba-82272f3bafde3032dd2ec4ae3546a596c9b807b8.tar.gz
samba-82272f3bafde3032dd2ec4ae3546a596c9b807b8.tar.bz2
samba-82272f3bafde3032dd2ec4ae3546a596c9b807b8.zip
check_dos_char: Export this function so that it can be tested in
isolation by a test case. (This used to be commit 52520fda6a168132239e2adae963a766ec653348)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index c666155f9f..3f319eed81 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -83,7 +83,7 @@ void load_case_tables(void)
see if a ucs2 character can be mapped correctly to a dos character
and mapped back to the same character in ucs2
*/
-static int check_dos_char(smb_ucs2_t c)
+int check_dos_char(smb_ucs2_t c)
{
char buf[10];
smb_ucs2_t c2 = 0;