OSDN Git Service

[GCC4] fix build error in drivers/md/lvm-internal.h
authorWilly Tarreau <w@1wt.eu>
Sun, 13 Aug 2006 10:39:38 +0000 (12:39 +0200)
committerWilly 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

index f95069e..aca8632 100644 (file)
@@ -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;