aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@dilger.ca>2012-11-22 16:17:19 -0700
committerTheodore Ts'o <tytso@mit.edu>2012-11-26 09:34:20 -0500
commit3e554cc116a55c9fffe17f4e819d5f2ecf8ad0af (patch)
tree5dbb9e671006f242970157854497f2c6ec3b47b9 /tests
parentab00fdac7c5345d06d936640c12e1d24c7fdb6b2 (diff)
downloadandroid_external_e2fsprogs-3e554cc116a55c9fffe17f4e819d5f2ecf8ad0af.tar.gz
android_external_e2fsprogs-3e554cc116a55c9fffe17f4e819d5f2ecf8ad0af.tar.bz2
android_external_e2fsprogs-3e554cc116a55c9fffe17f4e819d5f2ecf8ad0af.zip
ext2fs, blkid: localize environment-specific variables
Restructure the ext2fs_get_device_size() and blkid_get_dev_size() code to localize the variables used for different device probing methods. This at least reduces the #ifdef mess to only one part of the code for each method, and avoids "unused variable" compiler warnings added when variables are declared without being #ifdef'd. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions