* [PATCH 2.6.12-rc5] UML + UDF duplicated symbol
@ 2005-05-31 16:31 Dominik Hackl
0 siblings, 0 replies; only message in thread
From: Dominik Hackl @ 2005-05-31 16:31 UTC (permalink / raw)
To: bfennema; +Cc: linux_udf, linux-kernel, user-mode-linux-devel
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 },
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-31 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-31 16:31 [PATCH 2.6.12-rc5] UML + UDF duplicated symbol Dominik Hackl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®