Linux with UDF compiled in, can't be linked against the libc (needed for
UML).
This patch makes the variable __mon_yday static and avoids a namespace
conflict with the libc.
Signed-off-by: Dominik Hackl <[email protected]>
--- linux-2.6.12-rc5.orig/fs/udf/udftime.c 2005-05-25 20:37:16.000000000 +0200
+++ linux-2.6.12-rc5/fs/udf/udftime.c 2005-05-31 16:51:11.000000000 +0200
@@ -46,7 +46,7 @@
#endif
/* How many days come before each month (0-12). */
-const unsigned short int __mon_yday[2][13] =
+const static unsigned short int __mon_yday[2][13] =
{
/* Normal years. */
{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]