diff options
author | Andreas Dilger <adilger@whamcloud.com> | 2011-06-11 10:58:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-06-11 10:58:25 -0400 |
commit | cf5301d7f2c3bbed3d26600335102414cbf0c4ba (patch) | |
tree | 42d6f95894583f1ddb507e5a2332b7b2ab6a13e4 /lib/ext2fs/unix_io.c | |
parent | 44fe08f1fa1e9a994ff304aa02022c53c9341519 (diff) | |
download | e2fsprogs-cf5301d7f2c3bbed3d26600335102414cbf0c4ba.tar.gz |
misc: clean up compiler warnings
Fix several types of compiler warnings (unused variables/labels),
uninitialized variables, etc that are hit with gcc -Wall.
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/unix_io.c')
-rw-r--r-- | lib/ext2fs/unix_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c index 82e0fe44..6e480b79 100644 --- a/lib/ext2fs/unix_io.c +++ b/lib/ext2fs/unix_io.c @@ -17,7 +17,9 @@ #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <stdio.h> #include <string.h> |