OSDN Git Service

fix to allow compilation with gcc's -fno-common option
authorJim Meyering <meyering@redhat.com>
Mon, 7 Jul 2008 10:29:01 +0000 (12:29 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 7 Jul 2008 10:29:32 +0000 (12:29 +0200)
* libparted/fs/fat/count.h (fat16): Remove bogus (unused)
globally-scoped variable declaration.

libparted/fs/fat/count.h

index dd19e3b..0811156 100644 (file)
@@ -1,6 +1,6 @@
 /*
     libparted
-    Copyright (C) 1999, 2000, 2007 Free Software Foundation, Inc.
+    Copyright (C) 1999, 2000, 2007, 2008 Free Software Foundation, Inc.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -32,7 +32,7 @@ enum _FatClusterFlag {
 struct __attribute__ ((packed)) _FatClusterInfo {
        unsigned int    units_used:6;   /* 1 unit = cluster_size / 64 */
        FatClusterFlag  flag:2;
-} fat16;
+};
 
 extern int fat_collect_cluster_info (PedFileSystem *fs);
 extern FatClusterFlag fat_get_cluster_flag (PedFileSystem* fs,