summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-03-30 00:37:14 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-03-30 00:37:14 +0000
commitde4115fc46aed3c4a916909a1a49c3ac7bbdb4ba (patch)
tree0aa1f3c3236cd1f0a08f458f600308e2c9210498 /sys
parentab90071412973f920164985b0b6bcdd98d2f1fda (diff)
Export udf_transname(), which will be needed
by disklabel spoofing code later on.
Diffstat (limited to 'sys')
-rw-r--r--sys/isofs/udf/udf_extern.h3
-rw-r--r--sys/isofs/udf/udf_vnops.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/isofs/udf/udf_extern.h b/sys/isofs/udf/udf_extern.h
index 8c5b95aba38..6c5dcdb3f45 100644
--- a/sys/isofs/udf/udf_extern.h
+++ b/sys/isofs/udf/udf_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_extern.h,v 1.1 2005/03/29 17:24:52 pedro Exp $ */
+/* $OpenBSD: udf_extern.h,v 1.2 2005/03/30 00:37:13 pedro Exp $ */
/*
* Written by Pedro Martelletto <pedro@openbsd.org> in February 2005.
@@ -43,6 +43,7 @@ int udf_lock(void *v);
int udf_unlock(void *v);
int udf_islocked(void *v);
int udf_print(void *v);
+int udf_transname(char *, char *, int, struct udf_mnt *);
/*
* Memory pools.
diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c
index 03e05e9dec9..271bee6657b 100644
--- a/sys/isofs/udf/udf_vnops.c
+++ b/sys/isofs/udf/udf_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vnops.c,v 1.2 2005/03/30 00:30:51 pedro Exp $ */
+/* $OpenBSD: udf_vnops.c,v 1.3 2005/03/30 00:37:13 pedro Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -474,7 +474,7 @@ udf_read(void *v)
* Unicode to the encoding that the kernel/user expects. Return the length
* of the translated string.
*/
-static int
+int
udf_transname(char *cs0string, char *destname, int len, struct udf_mnt *udfmp)
{
unicode_t *transname;