patch-2.3.49 linux/fs/udf/unicode.c

Next file: linux/include/asm-alpha/hardirq.h
Previous file: linux/fs/udf/udftime.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/fs/udf/unicode.c linux/fs/udf/unicode.c
@@ -26,7 +26,7 @@
 
 #ifdef __KERNEL__
 #include <linux/kernel.h>
-#include <linux/string.h>       /* for memset */
+#include <linux/string.h>	/* for memset */
 #include <linux/udf_fs.h>
 #else
 #include <string.h>
@@ -98,7 +98,7 @@
  */
 int udf_build_ustr(struct ustr *dest, dstring *ptr, int size)
 {
-    int usesize;
+	int usesize;
 
 	if ( (!dest) || (!ptr) || (!size) )
 		return -1;
@@ -116,14 +116,14 @@
  */
 int udf_build_ustr_exact(struct ustr *dest, dstring *ptr, int exactsize)
 {
-    if ( (!dest) || (!ptr) || (!exactsize) )
-	return -1;
+	if ( (!dest) || (!ptr) || (!exactsize) )
+		return -1;
 
-    memset(dest, 0, sizeof(struct ustr));
-    dest->u_cmpID=ptr[0];
-    dest->u_len=exactsize-1;
-    memcpy(dest->u_name, ptr+1, exactsize-1);
-    return 0;
+	memset(dest, 0, sizeof(struct ustr));
+	dest->u_cmpID=ptr[0];
+	dest->u_len=exactsize-1;
+	memcpy(dest->u_name, ptr+1, exactsize-1);
+	return 0;
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)