projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d3a00
)
[PATCH] UDF filesystem: array '__mon_yday' declared as not static
author
Goffredo Baroncelli
<kreijack@inwind.it>
Tue, 31 May 2005 21:39:31 +0000
(14:39 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 31 May 2005 21:54:18 +0000
(14:54 -0700)
in fs/udf/udftime.c the global array '__mon_yday' is not static, and it
conflicts with the glibc one when the kernel is compiled as user mode.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/udf/udftime.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/udftime.c
b/fs/udf/udftime.c
index 457a8fe285751d73bd3f052b21532b1538c988dd..85d8dbe843f1f12eee67836c1e94d006f52858f6 100644
(file)
--- a/
fs/udf/udftime.c
+++ b/
fs/udf/udftime.c
@@
-46,7
+46,7
@@
#endif
/* How many days come before each month (0-12). */
-const unsigned short int __mon_yday[2][13] =
+
static
const unsigned short int __mon_yday[2][13] =
{
/* Normal years. */
{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },