OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.4.36.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218865b
)
[GCC4] fix build error in drivers/md/lvm-internal.h
author
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 10:39:38 +0000
(12:39 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 15:19:24 +0000
(17:19 +0200)
This patch fixes this error with gcc 4 :
lvm.c:397: error: static declaration of 'vg_count' follows non-static declaration
lvm-internal.h:48: error: previous declaration of 'vg_count' was here
drivers/md/lvm-internal.h
patch
|
blob
|
history
diff --git
a/drivers/md/lvm-internal.h
b/drivers/md/lvm-internal.h
index
f95069e
..
aca8632
100644
(file)
--- a/
drivers/md/lvm-internal.h
+++ b/
drivers/md/lvm-internal.h
@@
-45,7
+45,6
@@
extern int loadtime;
extern const char *const lvm_name;
-extern uint vg_count;
extern vg_t *vg[];
extern struct file_operations lvm_chr_fops;