From af4e41968204d6cef957cf229da3ac02affb1015 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 Jul 2008 12:29:01 +0200 Subject: [PATCH] fix to allow compilation with gcc's -fno-common option * libparted/fs/fat/count.h (fat16): Remove bogus (unused) globally-scoped variable declaration. --- libparted/fs/fat/count.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libparted/fs/fat/count.h b/libparted/fs/fat/count.h index dd19e3b..0811156 100644 --- a/libparted/fs/fat/count.h +++ b/libparted/fs/fat/count.h @@ -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, -- 2.11.0