lkml.org 
[lkml]   [2005]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.12-rc5] UML + UDF duplicated symbol


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 <dominik@hackl.dhs.org>



--- 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-05-31 20:34    [W:0.058 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site