projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5c1e8
)
dm: mark function lists static
author
Alasdair G Kergon
<agk@redhat.com>
Fri, 8 Feb 2008 02:09:51 +0000
(
02:09
+0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 8 Feb 2008 02:09:51 +0000
(
02:09
+0000)
Add a couple of statics.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index 466a6bf0742f98c51337735aeae732d7cac122c5..5f0f559d3b92a94ada9c0ddd29c67ceeccd273ad 100644
(file)
--- a/
drivers/md/dm.c
+++ b/
drivers/md/dm.c
@@
-181,7
+181,7
@@
static void local_exit(void)
DMINFO("cleaned up");
}
-int (*_inits[])(void) __initdata = {
+
static
int (*_inits[])(void) __initdata = {
local_init,
dm_target_init,
dm_linear_init,
@@
-189,7
+189,7
@@
int (*_inits[])(void) __initdata = {
dm_interface_init,
};
-void (*_exits[])(void) = {
+
static
void (*_exits[])(void) = {
local_exit,
dm_target_exit,
dm_linear_exit,